/* ============================================
   FREELANCETIMER.PRO - MAIN STYLESHEET
   ============================================ */

/* ===== FONTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@700&family=Montserrat:wght@400;500;600;700&display=swap');

/* ===== COLOR VARIABLES ===== */
:root {
  --text: #13100f;
  --background: #dad2cd;
  --primary: #ce6427;
  --secondary: #454f59;
  --accent: #181c20;
}

/* ===== TYPOGRAPHY ===== */
body {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  color: var(--text);
  background-color: var(--background);
}

h1, h2, h3, h4, h5 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  color: var(--accent);
}

h1 { font-size: 4.210rem; }
h2 { font-size: 3.158rem; }
h3 { font-size: 2.369rem; }
h4 { font-size: 1.777rem; }
h5 { font-size: 1.333rem; }
small { font-size: 0.750rem; }

/* ===== BULMA OVERRIDES ===== */

/* Primary Color (Orange) */
.hero.is-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #b85520 100%);
}

.button.is-primary {
  background-color: var(--primary);
  border-color: var(--primary);
  color: white;
  font-weight: 600;
}

.button.is-primary:hover {
  background-color: #b85520;
  border-color: #b85520;
}

/* Navbar */
.navbar.is-dark {
  background-color: var(--accent) !important;
}

.navbar.is-dark .navbar-item:hover {
  background-color: var(--secondary);
}

/* Force navbar logo size */
.navbar-brand .navbar-item img {
  max-height: none !important;
  height: 60px !important;
}

/* Boxes */
.box {
  background-color: white;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.box:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

/* Footer */
.footer {
  background-color: var(--accent);
  color: var(--background);
}

.footer a {
  color: var(--background);
}

.footer a:hover {
  color: var(--primary);
}

/* Pricing/Donation Card */
.pricing-card {
  background: white;
  border: 3px solid var(--primary);
  box-shadow: 0 10px 30px rgba(206, 100, 39, 0.2);
}

/* Dark Sections */
.has-background-dark {
  background-color: var(--accent) !important;
}

/* Hero Logo */
.hero-logo {
  max-width: 400px;
  margin: 0 auto 2rem;
}

/* Tags */
.tag.is-primary {
  background-color: var(--primary);
  color: white;
}

/* Links */
a {
  color: var(--primary);
}

a:hover {
  color: #b85520;
}

/* Content Sections */
.section {
  background-color: var(--background);
}

.section.has-background-white {
  background-color: white;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.5rem; }
  .hero-logo { max-width: 250px; }
}

/* ===== SCREENSHOT STYLES ===== */

/* Hero Screenshot */
.hero-screenshot {
  width: 100%;
  height: auto;
  border: 3px solid var(--accent);
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-screenshot:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.35);
}

/* Screenshot Gallery Cards */
.screenshot-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.screenshot-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.screenshot-wrapper {
  position: relative;
  overflow: hidden;
  background: var(--background);
  padding: 1rem;
  border-bottom: 3px solid var(--primary);
}

.app-screenshot {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  border: 2px solid var(--accent);
  transition: transform 0.3s ease;
}

.screenshot-card:hover .app-screenshot {
  transform: scale(1.02);
}

.screenshot-content {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.screenshot-content .title {
  margin-bottom: 0.75rem;
  color: var(--accent);
}

.screenshot-content p {
  color: var(--text);
  line-height: 1.6;
}

/* Placeholder for missing screenshots */
.app-screenshot[src*="placeholder"],
.app-screenshot[src=""] {
  background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Responsive Screenshot Adjustments */
@media (max-width: 768px) {
  .hero-screenshot {
    border-width: 2px;
    border-radius: 8px;
  }
  
  .screenshot-wrapper {
    padding: 0.5rem;
  }
  
  .app-screenshot {
    border-width: 1px;
    border-radius: 4px;
  }
  
  .screenshot-content {
    padding: 1rem;
  }
}

/* ===== UTILITY CLASSES ===== */
.text-primary {
  color: var(--primary);
}

.text-accent {
  color: var(--accent);
}

.bg-primary {
  background-color: var(--primary);
}

.bg-accent {
  background-color: var(--accent);
}
