/* ============================================
   BLU FISH PHOTOGRAPHY - SHARED STYLES
   Main stylesheet for all pages
   
   TO EDIT COLORS: Change the values in :root below
   TO EDIT FONTS: Change the font-family values in :root
   ============================================ */

/* ============================================
   CSS CUSTOM PROPERTIES (BRAND COLORS)
   ============================================ */
:root {
    /* Brand colors extracted from Blu Fish logo */
    --navy: #1a2e3f;
    --navy-dark: #111f2b;
    --navy-light: #264a66;
    --brand-blue: #00a3fe;
    --brand-blue-hover: #0090e0;
    --brand-blue-light: #e6f5ff;
    --brand-gray: #424242;
    --orange: #00a3fe;           /* CTAs use brand blue */
    --orange-hover: #0090e0;
    --orange-light: #e6f5ff;
    --white: #ffffff;
    --light-gray: #f5f7f9;
    --med-gray: #777777;
    --dark-gray: #333333;
    --border-gray: #e0e4e8;
    --cream: #f0f8ff;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.10);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.14);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: 'Open Sans', sans-serif;
    color: var(--dark-gray);
    line-height: 1.7;
    overflow-x: hidden;
    background: var(--white);
}
h1, h2, h3, h4, h5, h6 { font-family: 'Montserrat', sans-serif; font-weight: 700; line-height: 1.25; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* ============================================
   UTILITY CLASSES
   ============================================ */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section-padding { padding: 100px 0; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 { font-size: 2.4rem; color: var(--navy); margin-bottom: 16px; }
.section-header p { font-size: 1.1rem; color: var(--med-gray); max-width: 600px; margin: 0 auto; }
.section-header .accent-line { width: 60px; height: 3px; background: var(--orange); margin: 20px auto 0; border-radius: 2px; }
.bg-white { background: var(--white); }
.bg-light { background: var(--light-gray); }
.bg-cream { background: var(--cream); }
.bg-navy { background: var(--navy); }
.text-center { text-align: center; }

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 14px 32px; font-family: 'Montserrat', sans-serif; font-weight: 600;
    font-size: 0.95rem; border-radius: var(--radius-sm); border: 2px solid transparent;
    cursor: pointer; transition: var(--transition); letter-spacing: 0.3px; gap: 8px;
}
.btn-primary { background: var(--orange); color: var(--white); border-color: var(--orange); }
.btn-primary:hover { background: var(--orange-hover); border-color: var(--orange-hover); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0, 163, 254, 0.35); }
.btn-outline { background: transparent; color: var(--white); border-color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--navy); transform: translateY(-2px); }
.btn-outline-dark { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline-dark:hover { background: var(--navy); color: var(--white); transform: translateY(-2px); }
.btn-sm { padding: 10px 22px; font-size: 0.88rem; }

/* ============================================
   NAVIGATION
   ============================================ */
.nav { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; padding: 16px 0; transition: var(--transition); }
.nav.scrolled { background: var(--navy); padding: 10px 0; box-shadow: var(--shadow-md); }
/* Force solid nav on inner pages (not homepage) */
.nav.solid { background: var(--navy); padding: 10px 0; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.nav-logo img { height: 48px; transition: var(--transition); }
.nav.scrolled .nav-logo img, .nav.solid .nav-logo img { height: 40px; }
.nav-logo-text { display: none; } /* Hidden when logo image is present */
.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-links a { color: var(--white); font-family: 'Montserrat', sans-serif; font-weight: 500; font-size: 0.88rem; padding: 8px 14px; border-radius: var(--radius-sm); letter-spacing: 0.3px; position: relative; }
.nav-links a:hover { background: rgba(255,255,255,0.1); }
.nav-links a.active { background: rgba(255,255,255,0.15); }
.nav-dropdown { position: relative; }
.nav-dropdown-menu { position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%); background: var(--white); border-radius: var(--radius-md); box-shadow: var(--shadow-lg); padding: 12px 0; min-width: 200px; opacity: 0; visibility: hidden; transition: var(--transition); }
.nav-dropdown:hover .nav-dropdown-menu { opacity: 1; visibility: visible; }
.nav-dropdown-menu a { color: var(--dark-gray); padding: 10px 20px; display: block; font-size: 0.85rem; border-radius: 0; }
.nav-dropdown-menu a:hover { background: var(--light-gray); color: var(--orange); }
.nav-cta { background: var(--brand-blue) !important; color: var(--white) !important; font-weight: 600 !important; border-radius: var(--radius-sm) !important; }
.nav-cta:hover { background: var(--brand-blue-hover) !important; transform: translateY(-1px); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.nav-toggle span { width: 26px; height: 2px; background: var(--white); border-radius: 2px; transition: var(--transition); }

/* ============================================
   PAGE HERO (Inner pages)
   ============================================ */
.page-hero {
    position: relative; padding: 160px 0 80px; text-align: center;
    background: var(--navy); color: var(--white); overflow: hidden;
}
.page-hero::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(30,58,95,0.95), rgba(21,44,74,0.9));
    z-index: 1;
}
.page-hero-bg {
    position: absolute; inset: 0; width: 100%; height: 100%;
    object-fit: cover; opacity: 0.2;
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { font-size: 3rem; margin-bottom: 16px; font-weight: 800; }
.page-hero p { font-size: 1.15rem; opacity: 0.85; max-width: 600px; margin: 0 auto; }
.page-hero .accent-line { width: 60px; height: 3px; background: var(--orange); margin: 24px auto 0; border-radius: 2px; }

/* ============================================
   FOOTER
   ============================================ */
.footer { background: var(--dark-gray); color: rgba(255,255,255,0.7); padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.footer-col h4 { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 0.9rem; color: var(--white); margin-bottom: 20px; letter-spacing: 0.5px; text-transform: uppercase; }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; margin-bottom: 20px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.7); font-size: 0.9rem; transition: var(--transition); }
.footer-social a:hover { background: var(--orange); color: var(--white); }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a { font-size: 0.88rem; transition: var(--transition); }
.footer-col ul a:hover { color: var(--orange); }
.footer-contact-item { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 14px; font-size: 0.88rem; }
.footer-contact-icon { color: var(--orange); font-size: 1rem; margin-top: 2px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 20px 0; text-align: center; font-size: 0.8rem; }
.footer-bottom a { color: rgba(255,255,255,0.5); }
.footer-bottom a:hover { color: var(--orange); }

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.fade-in { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; animation: cssFallbackReveal 0.8s ease 0.3s forwards; }
.fade-in.visible { opacity: 1; transform: translateY(0); animation: none; }
.fade-in-left { opacity: 0; transform: translateX(-40px); transition: opacity 0.7s ease, transform 0.7s ease; animation: cssFallbackReveal 0.8s ease 0.4s forwards; }
.fade-in-left.visible { opacity: 1; transform: translateX(0); animation: none; }
.fade-in-right { opacity: 0; transform: translateX(40px); transition: opacity 0.7s ease, transform 0.7s ease; animation: cssFallbackReveal 0.8s ease 0.5s forwards; }
.fade-in-right.visible { opacity: 1; transform: translateX(0); animation: none; }
.stagger-children > * { opacity: 0; transform: translateY(20px); transition: opacity 0.5s ease, transform 0.5s ease; animation: cssFallbackReveal 0.6s ease 0.6s forwards; }
.stagger-children.visible > *:nth-child(1) { transition-delay: 0.05s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(2) { transition-delay: 0.1s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(3) { transition-delay: 0.15s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(4) { transition-delay: 0.2s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(5) { transition-delay: 0.25s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(6) { transition-delay: 0.3s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(7) { transition-delay: 0.35s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(8) { transition-delay: 0.4s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(9) { transition-delay: 0.45s; opacity: 1; transform: translateY(0); }

/* ============================================
   MOBILE STICKY CTA
   ============================================ */
.mobile-cta { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 999; padding: 12px 16px; background: var(--white); box-shadow: 0 -4px 20px rgba(0,0,0,0.1); }
.mobile-cta .btn { width: 100%; }

/* ============================================
   PLACEHOLDER IMAGE STYLES
   ============================================ */
.placeholder-img {
    width: 100%; height: 100%; object-fit: cover;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.25); font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem; text-align: center; padding: 20px;
}

/* ============================================
   ABOUT PAGE STYLES
   ============================================ */
.about-story { line-height: 1.85; }
.about-story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-story-text h3 { font-size: 1.6rem; color: var(--navy); margin-bottom: 20px; }
.about-story-text p { margin-bottom: 16px; color: var(--dark-gray); }
.about-story-text .highlight { font-size: 1.15rem; color: var(--navy); font-weight: 600; border-left: 4px solid var(--orange); padding-left: 20px; margin: 24px 0; line-height: 1.7; }
.about-story-img { border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-lg); }
.about-story-img img, .about-story-img .placeholder-img { height: 450px; }

/* Team section */
.team-grid { display: flex; flex-direction: column; gap: 60px; }
.team-member { display: grid; grid-template-columns: 300px 1fr; gap: 40px; align-items: start; }
.team-member:nth-child(even) { grid-template-columns: 1fr 300px; }
.team-member:nth-child(even) .team-photo { order: 2; }
.team-photo { border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-md); }
.team-photo img, .team-photo .placeholder-img { width: 300px; height: 350px; object-fit: cover; }
.team-info h3 { font-size: 1.3rem; color: var(--navy); margin-bottom: 4px; }
.team-info .team-title { color: var(--orange); font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 0.9rem; margin-bottom: 16px; display: block; }
.team-info p { color: var(--dark-gray); line-height: 1.8; margin-bottom: 12px; }
.team-contact { display: flex; gap: 16px; margin-top: 12px; }
.team-contact a { color: var(--navy); font-size: 0.88rem; font-weight: 500; }
.team-contact a:hover { color: var(--orange); }

/* Why choose cards */
.why-choose-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.why-choose-card { padding: 32px 24px; border-radius: var(--radius-md); background: var(--white); border: 1px solid var(--border-gray); transition: var(--transition); }
.why-choose-card:hover { border-color: var(--orange); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.why-choose-card h3 { font-size: 1.05rem; color: var(--navy); margin-bottom: 10px; }
.why-choose-card p { font-size: 0.9rem; color: var(--med-gray); line-height: 1.65; }

/* Values */
.values-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; }
.value-item h3 { font-size: 1.1rem; color: var(--navy); margin-bottom: 10px; display: flex; align-items: center; gap: 10px; }
.value-item h3 span { color: var(--orange); font-size: 1.3rem; }
.value-item p { color: var(--med-gray); line-height: 1.7; }

/* ============================================
   SERVICES & PRICING PAGE STYLES
   ============================================ */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-bottom: 60px; }
.pricing-card { background: var(--white); border-radius: var(--radius-md); border: 2px solid var(--border-gray); padding: 40px 32px; text-align: center; transition: var(--transition); position: relative; }
.pricing-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.pricing-card.featured { border-color: var(--orange); box-shadow: var(--shadow-md); transform: scale(1.03); }
.pricing-card.featured:hover { transform: scale(1.03) translateY(-6px); }
.pricing-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--orange); color: var(--white); font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 0.75rem; padding: 6px 20px; border-radius: 20px; letter-spacing: 0.5px; white-space: nowrap; }
.pricing-card h3 { font-size: 1.3rem; color: var(--navy); margin-bottom: 8px; }
.pricing-card .price { font-family: 'Montserrat', sans-serif; font-size: 2.8rem; font-weight: 800; color: var(--navy); margin: 16px 0 8px; }
.pricing-card .price-note { font-size: 0.85rem; color: var(--med-gray); margin-bottom: 24px; }
.pricing-card .features { text-align: left; margin-bottom: 32px; }
.pricing-card .features li { padding: 8px 0; border-bottom: 1px solid var(--light-gray); font-size: 0.92rem; display: flex; align-items: flex-start; gap: 10px; }
.pricing-card .features li:last-child { border-bottom: none; }
.pricing-card .features .check { color: var(--orange); font-weight: 700; flex-shrink: 0; }
.pricing-card .btn { width: 100%; }

/* Add-ons */
.addons-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.addon-card { background: var(--white); border: 1px solid var(--border-gray); border-radius: var(--radius-md); padding: 24px; transition: var(--transition); }
.addon-card:hover { border-color: var(--orange); box-shadow: var(--shadow-sm); }
.addon-card h4 { font-size: 1rem; color: var(--navy); margin-bottom: 6px; }
.addon-card .addon-price { color: var(--orange); font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 1.1rem; margin-bottom: 8px; }
.addon-card p { font-size: 0.88rem; color: var(--med-gray); }

/* What's included */
.included-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.included-item { display: flex; gap: 12px; padding: 16px; border-radius: var(--radius-sm); background: var(--white); }
.included-item .check-icon { color: var(--orange); font-size: 1.2rem; flex-shrink: 0; margin-top: 2px; }
.included-item strong { display: block; font-size: 0.92rem; color: var(--navy); margin-bottom: 2px; }
.included-item span { font-size: 0.85rem; color: var(--med-gray); }

/* Turnaround */
.turnaround-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.turnaround-card { text-align: center; padding: 28px 20px; background: var(--light-gray); border-radius: var(--radius-md); }
.turnaround-card .icon { font-size: 2rem; margin-bottom: 12px; }
.turnaround-card h4 { font-size: 1rem; color: var(--navy); margin-bottom: 8px; }
.turnaround-card p { font-size: 0.88rem; color: var(--med-gray); }

/* Prep checklist */
.prep-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.prep-list li { padding: 10px 0; font-size: 0.95rem; display: flex; gap: 12px; align-items: flex-start; border-bottom: 1px solid var(--border-gray); }
.prep-list li:last-child { border-bottom: none; }
.prep-list .check { color: var(--orange); font-weight: 700; }
.prep-info { background: var(--light-gray); border-radius: var(--radius-md); padding: 28px; }
.prep-info p { margin-bottom: 12px; font-size: 0.95rem; }
.prep-info strong { color: var(--navy); }

/* FAQ */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border-gray); }
.faq-question { width: 100%; text-align: left; padding: 20px 0; font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 1rem; color: var(--navy); background: none; border: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; transition: var(--transition); }
.faq-question:hover { color: var(--orange); }
.faq-question .faq-icon { font-size: 1.4rem; transition: transform 0.3s ease; color: var(--orange); }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.4s ease; }
.faq-item.open .faq-answer { max-height: 300px; padding-bottom: 20px; }
.faq-answer p { color: var(--med-gray); line-height: 1.75; font-size: 0.95rem; }

/* ============================================
   GALLERY PAGE STYLES
   ============================================ */
.gallery-categories { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.gallery-cat-card { position: relative; border-radius: var(--radius-md); overflow: hidden; height: 320px; cursor: pointer; transition: var(--transition); }
.gallery-cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.gallery-cat-card .placeholder-img { position: absolute; inset: 0; }
.gallery-cat-overlay { position: absolute; inset: 0; background: linear-gradient(transparent 30%, rgba(30,58,95,0.85)); display: flex; flex-direction: column; justify-content: flex-end; padding: 28px; z-index: 1; transition: var(--transition); }
.gallery-cat-card:hover .gallery-cat-overlay { background: linear-gradient(transparent 20%, rgba(255,107,53,0.85)); }
.gallery-cat-overlay h3 { color: var(--white); font-size: 1.4rem; margin-bottom: 6px; }
.gallery-cat-overlay p { color: rgba(255,255,255,0.85); font-size: 0.9rem; }
.gallery-cat-overlay .gallery-cat-btn { display: inline-flex; align-items: center; gap: 6px; color: var(--white); font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 0.88rem; margin-top: 12px; opacity: 0; transform: translateY(10px); transition: var(--transition); }
.gallery-cat-card:hover .gallery-cat-btn { opacity: 1; transform: translateY(0); }

/* Individual gallery page */
.gallery-project { margin-bottom: 60px; }
.gallery-project-header { display: flex; align-items: baseline; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.gallery-project-header h3 { font-size: 1.3rem; color: var(--navy); }
.gallery-project-header .meta { font-size: 0.9rem; color: var(--med-gray); }
.gallery-masonry { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.gallery-masonry-item { border-radius: var(--radius-sm); overflow: hidden; cursor: pointer; transition: var(--transition); }
.gallery-masonry-item:hover { transform: scale(1.02); box-shadow: var(--shadow-md); }
.gallery-masonry-item img, .gallery-masonry-item .placeholder-img { height: 240px; width: 100%; object-fit: cover; }
.gallery-masonry-item:first-child { grid-column: span 2; grid-row: span 2; }
.gallery-masonry-item:first-child img, .gallery-masonry-item:first-child .placeholder-img { height: 100%; min-height: 488px; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,0.95); z-index: 10000; display: none; align-items: center; justify-content: center; }
.lightbox.open { display: flex; }
.lightbox-close { position: absolute; top: 20px; right: 24px; color: white; font-size: 2rem; cursor: pointer; z-index: 2; background: none; border: none; }
.lightbox-img { max-width: 90vw; max-height: 85vh; object-fit: contain; border-radius: var(--radius-sm); }
.lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); color: white; font-size: 2rem; cursor: pointer; background: rgba(255,255,255,0.1); width: 50px; height: 50px; border-radius: 50%; display: flex; align-items: center; justify-content: center; border: none; transition: var(--transition); }
.lightbox-nav:hover { background: rgba(255,255,255,0.2); }
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

/* ============================================
   CONTACT PAGE STYLES
   ============================================ */
.contact-grid { display: grid; grid-template-columns: 0.4fr 0.6fr; gap: 60px; }
.contact-info-card { background: var(--navy); color: var(--white); border-radius: var(--radius-md); padding: 40px; }
.contact-info-card h3 { font-size: 1.3rem; margin-bottom: 28px; }
.contact-method { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 24px; }
.contact-method-icon { width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0; }
.contact-method-text h4 { font-size: 0.88rem; opacity: 0.7; font-weight: 500; margin-bottom: 4px; }
.contact-method-text p { font-size: 1rem; }
.contact-method-text a { color: var(--white); }
.contact-method-text a:hover { color: var(--orange); }
.contact-hours { margin-top: 32px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.15); }
.contact-hours h4 { font-size: 0.95rem; margin-bottom: 12px; }
.contact-hours p { font-size: 0.9rem; opacity: 0.8; margin-bottom: 4px; }
.contact-social { display: flex; gap: 12px; margin-top: 24px; }
.contact-social a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; color: var(--white); transition: var(--transition); }
.contact-social a:hover { background: var(--orange); }

/* Form */
.contact-form-wrap { background: var(--white); border-radius: var(--radius-md); padding: 40px; box-shadow: var(--shadow-md); }
.contact-form-wrap h3 { font-size: 1.3rem; color: var(--navy); margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-row.full { grid-template-columns: 1fr; }
.form-group { display: flex; flex-direction: column; }
.form-group label { font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 0.85rem; color: var(--navy); margin-bottom: 6px; }
.form-group label .required { color: var(--orange); }
.form-group input, .form-group select, .form-group textarea {
    padding: 12px 16px; border: 1px solid var(--border-gray); border-radius: var(--radius-sm);
    font-family: 'Open Sans', sans-serif; font-size: 0.95rem; color: var(--dark-gray);
    transition: var(--transition); background: var(--white);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(255,107,53,0.1);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: 0.88rem; color: var(--med-gray); margin-top: 16px; }

/* Urgent banner */
.urgent-banner { background: var(--orange); color: var(--white); text-align: center; padding: 28px; border-radius: var(--radius-md); margin-top: 60px; }
.urgent-banner h3 { font-size: 1.1rem; margin-bottom: 6px; }
.urgent-banner p { font-size: 0.95rem; opacity: 0.95; }
.urgent-banner a { color: var(--white); font-weight: 700; text-decoration: underline; }

/* ============================================
   FINAL CTA (Shared across pages)
   ============================================ */
.final-cta { background: var(--navy); color: var(--white); text-align: center; padding: 80px 0; }
.final-cta h2 { font-size: 2.4rem; color: var(--white); margin-bottom: 16px; }
.final-cta p { font-size: 1.1rem; opacity: 0.85; margin-bottom: 36px; max-width: 600px; margin-left: auto; margin-right: auto; }
.final-cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 24px; }
.final-cta-phone { font-size: 1rem; opacity: 0.75; }
.final-cta-phone a { color: var(--orange); font-weight: 600; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 992px) {
    .section-header h2 { font-size: 2rem; }
    .pricing-grid { grid-template-columns: 1fr; max-width: 500px; margin-left: auto; margin-right: auto; }
    .pricing-card.featured { transform: none; }
    .addons-grid { grid-template-columns: repeat(2, 1fr); }
    .included-grid { grid-template-columns: repeat(2, 1fr); }
    .turnaround-grid { grid-template-columns: 1fr; }
    .about-story-grid { grid-template-columns: 1fr; }
    .team-member, .team-member:nth-child(even) { grid-template-columns: 1fr; }
    .team-member:nth-child(even) .team-photo { order: 0; }
    .team-photo img, .team-photo .placeholder-img { width: 100%; max-width: 300px; }
    .why-choose-grid { grid-template-columns: repeat(2, 1fr); }
    .values-grid { grid-template-columns: 1fr; }
    .gallery-categories { grid-template-columns: 1fr; }
    .gallery-masonry { grid-template-columns: repeat(2, 1fr); }
    .gallery-masonry-item:first-child { grid-column: span 2; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .prep-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .nav-links { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: var(--navy); flex-direction: column; justify-content: center; align-items: center; gap: 4px; z-index: 1000; }
    .nav-links.open { display: flex; }
    .nav-links a { font-size: 1.1rem; padding: 14px 24px; }
    .nav-dropdown-menu { position: static; transform: none; background: rgba(255,255,255,0.05); box-shadow: none; padding: 0; opacity: 1; visibility: visible; }
    .nav-dropdown-menu a { color: var(--white); text-align: center; font-size: 0.95rem; }
    .nav-toggle { display: flex; z-index: 1001; }
    .page-hero h1 { font-size: 2.2rem; }
    .section-padding { padding: 70px 0; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .mobile-cta { display: block; }
    .final-cta h2 { font-size: 1.8rem; }
    .gallery-masonry { grid-template-columns: repeat(2, 1fr); }
    .gallery-masonry-item:first-child { grid-column: span 1; grid-row: span 1; }
    .gallery-masonry-item:first-child img, .gallery-masonry-item:first-child .placeholder-img { min-height: 240px; }
    .form-row { grid-template-columns: 1fr; }
    .addons-grid { grid-template-columns: 1fr; }
    .included-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .page-hero h1 { font-size: 1.8rem; }
    .page-hero { padding: 140px 0 60px; }
}

/* ============================================
   CSS-ONLY FALLBACK: Ensures content appears
   even if JavaScript is blocked or delayed.
   When JS works, it adds .visible which sets
   animation:none, so the JS-driven transitions
   take over seamlessly.
   ============================================ */
@keyframes cssFallbackReveal {
    to { opacity: 1; transform: translateY(0) translateX(0); }
}
