/* ============================================
   SHIP'S WAKE MEDIA - Main Stylesheet v2
   Luxury Real Estate Media - Refined Design
   ============================================ */

/* CSS Variables / Brand Colors */
:root {
    /* Primary */
    --dark-navy: #1e232b;
    --lighter-dark-blue: #2c323f;
    --white: #ffffff;
    --semi-dark: #2c3340;
    

    /* Secondary/Accent */
    --yellow: #f5f1a1;
    --yellow-light: #f4f1c9;
    --yellow-soft: #f5f0d0;
    
    /* Tertiary */
    --light-blue: #a3b8c8;
    --pink: #db4c81;
    
    /* Typography - Redonda */
    --font-primary: "redonda", sans-serif;
    
    /* Spacing */
    --section-padding: 120px;
    --container-max: 1200px;
    --container-padding: 24px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.4s ease;
    
    /* Header Height */
    --header-height: 220px;
    --header-height-scrolled: 140px;
}
/* This ensures the header is always on the very top layer */
header, .nav-row {
    position: relative; /* or fixed/absolute depending on your layout */
    z-index: 9999 !important;
    pointer-events: auto !important;
}
/* ============================================
   RESET & BASE
   ============================================ */

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-weight: 300;
    font-size: 16px;
    line-height: 1.5;
    
  
    
    color: var(--dark-navy);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

ul {
    list-style: none;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

/* ============================================
   UTILITIES
   ============================================ */

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}


.content-wrapper {
    min-height: calc(100vh - 400px); 
    padding-top: 300px; /* Verified padding to clear your tall masthead */
    padding-bottom: 50px;
    display: block;
    width: 100%;
    
    /* Matches the container constraints of your About/Contact pages */
    max-width: var(--container-max); /* This uses your 1200px variable */
    margin: 0 auto; 
    padding-left: var(--container-padding); /* Standardized side-padding */
    padding-right: var(--container-padding);
    
    text-align: left; /* Changes from 'center' to match the About page */
    color: var(--dark-navy); /* For your dark theme */
}

.content-wrapper h1 {
    margin-bottom: 40px;
    font-size: clamp(2.5rem, 6vw, 4rem); /* Matches your .about-title size */
}

/* ============================================
   TYPOGRAPHY - Light Luxury Style
   ============================================ */

h1, h2, h3, h4, h5, h6 {
    font-weight: 300;
    line-height: 1.2;
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
    font-size: clamp(2rem, 5vw, 3rem);
}

h3 {
    font-size: clamp(1.25rem, 3vw, 1.5rem);
}

p {
    margin-bottom: 1em;
}

p:last-child {
    margin-bottom: 0;
}

/* ============================================
   BUTTONS
   ============================================ */

/* Default button - Dark navy with yellow text (Book Now) */
.btn {
    display: inline-block;
    padding: 16px 48px;
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 400;
    text-align: center;
    border: none;
    border-radius: 3px;
    background-color: var(--dark-navy);
    color: var(--yellow);
    transition: all var(--transition-fast);
    cursor: pointer;
}

.btn:hover {
    background-color: var(--lighter-dark-blue);
}

/* Pink outline button (See Pricing in CTA) - slight radius like mockup */
.btn-cta {
    background-color: transparent;
    color: var(--pink);
    border: 2px solid var(--pink);
    border-radius: 3px;
    padding: 14px 56px;
}

.btn-cta:hover {
    background-color: var(--pink);
    color: var(--white);
}

/* Light blue outline button (phone, submit) */
.btn-outline {
    background-color: transparent;
    color: var(--light-blue);
    border: 2px solid var(--light-blue);
    border-radius: 3px;
}

.btn-outline:hover {
    background-color: var(--light-blue);
    color: var(--dark-navy);
}

/* ============================================
   HEADER / MASTHEAD - 220px Height
   Nav items positioned OVER the logo
   ============================================ */

.masthead {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: var(--dark-navy);
    height: var(--header-height);
    transition: height var(--transition-medium);
    overflow: visible;
}

.masthead.scrolled {
    height: var(--header-height-scrolled);
    overflow: hidden;
}

.masthead-inner {
    position: relative;
    max-width: var(--container-max);
    margin: 0 auto;
    height: 100%;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Instagram icon - far left, vertically centered */
.masthead-left {
    position: absolute;
    left: 40px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

/* Phone number - far right, vertically centered */
.masthead-right {
    position: absolute;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

/* Logo - centered via parent flexbox */
.masthead-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-link {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo {
    height: 160px;
    width: auto;
    transition: height var(--transition-medium);
}

.masthead.scrolled .logo {
    height: 100px;
}

/* Navigation - positioned OVER the logo */
.nav-row {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 63px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    z-index: 5;
}

.nav-left,
.nav-right {
    display: flex;
    gap: 48px;
}

/* Position nav-left to end right before logo center */
.nav-left {
    margin-right: 90px;
}

/* Position nav-right to start right after logo center */
.nav-right {
    margin-left: 90px;
}

.nav-list a {
    color: var(--white);
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    text-transform: uppercase;
  white-space: nowrap;
}
.about-page .nav-row,
.about-page .nav-row a {
    pointer-events: auto;
}
.nav-list a:hover {
    color: var(--light-blue);
}

/* Scrolled state - adjust nav position */
.masthead.scrolled .nav-row {
    top: 35px;
}

.masthead.scrolled .nav-left {
    margin-right: 70px;
}

.masthead.scrolled .nav-right {
    margin-left: 70px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Instagram icon in header - light blue */
.masthead .social-icon {
    width: 32px;
    height: 32px;
    opacity: 1;
    transition: opacity var(--transition-fast);
}

.social-link:hover .social-icon {
    opacity: 0.7;
}

/* Phone link - rectangular with slight radius */
.phone-link {
    color: var(--light-blue);
    font-size: 1.1rem;
    font-weight: 400;
    padding: 12px 28px;
    border: 2px solid var(--light-blue);
    border-radius: 3px;
    transition: all var(--transition-fast);
}

.phone-link:hover {
    background-color: var(--light-blue);
    color: var(--dark-navy);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    width: 32px;
    height: 24px;
    position: relative;
    z-index: 1001;
}

.hamburger,
.hamburger::before,
.hamburger::after {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--white);
    position: absolute;
    transition: all var(--transition-fast);
}

.hamburger {
    top: 50%;
    transform: translateY(-50%);
}

.hamburger::before {
    content: '';
    top: -8px;
}

.hamburger::after {
    content: '';
    bottom: -8px;
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger {
    background-color: transparent;
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger::before {
    top: 0;
    transform: rotate(45deg);
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger::after {
    bottom: 0;
    transform: rotate(-45deg);
}

/* Mobile Navigation */
.mobile-nav {
    display: none;
    position: fixed;
    top: var(--header-height-scrolled);
    left: 0;
    right: 0;
    background-color: var(--dark-navy);
    padding: 24px;
    transform: translateY(-100%);
    opacity: 0;
    transition: all var(--transition-medium);
}

.mobile-nav.active {
    transform: translateY(0);
    opacity: 1;
}

.mobile-nav-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-align: center;
}

.mobile-nav-list a {
    color: var(--white);
    font-size: 1rem;
    font-weight: 300;
    padding: 12px;
    display: block;
}

.mobile-nav-list a:hover {
    color: var(--light-blue);
}

.mobile-phone {
    color: var(--light-blue) !important;
    margin-top: 16px;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.2);
}






/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    max-height: 900px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    overflow: hidden;
    padding-top: var(--header-height);
}

.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

/* Yellow sky repeater at top of hero */
.hero-sky-overlay {
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    height: 500px;
    /* background: url('../images/yellow-interior-repeater-x.png') repeat-x top center; */
    background-size: auto 100%;
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 60px;
    padding-top: 100px;
}

.hero-tagline {
    display: flex;
    align-items: center;
    gap: 20px;
    color: var(--dark-navy);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 400;
    font-style: normal;
}

.flourish {
    width: clamp(60px, 10vw, 100px);
    height: auto;
}

.hero-cta {
    margin-top: 10px;
}

/* ============================================
   SERVICES SECTION - Everything Your Listing Needs
   ============================================ */

.services {
    padding: 50px 0 70px;
    background-color: var(--white);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
    font-weight: 300;
    font-style: normal;
    font-size: clamp(2rem, 5vw, 3rem);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
}

.service-card {
    text-align: left;
}

.service-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.service-icon {
    width: 36px;
    height: 36px;
}
#tours {width:46px; height:46px} 

.service-header h3 {
    font-size: 1.5rem;
    font-weight: 400;
}

.service-card p {
    font-size: 0.9rem;
    font-weight: 300;
    line-height: 1.5;
    color: #444;
}



.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 16px;
}

.tag {
    display: inline-block;
    padding: 3px 10px;
    font-size: 0.65rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    background-color: var(--dark-navy);
    color: var(--white);
}

.services-tagline {
    text-align: center;
    margin-top: 60px;
    font-size: 1.25rem;
    font-weight: 400;
}


/* Photo - light blue */
.service-card:nth-child(1) .tag {
    background-color: var(--light-blue);
    color: var(--dark-navy);
}

/* Video - pink */
.service-card:nth-child(2) .tag {
    background-color: var(--pink);
    color: var(--white);
}

/* 3D Tours - yellow */
.service-card:nth-child(3) .tag {
    background-color: var(--yellow);
    color: var(--dark-navy);
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
}

.service-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-tags {
    margin-top: auto;
}

.service-card p {
    flex-grow: 0;
}

/* ============================================
   PORTFOLIO SECTIONS - 120px padding
   ============================================ */

.portfolio-section {
    padding: 125px 0;
}

.portfolio-section .container {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.portfolio-section.dark {
    background-color: var(--dark-navy);
    color: var(--white);
}

.portfolio-section.light {
    background-color: var(--white);
    color: var(--dark-navy);
}

.portfolio-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 120px;
    align-items: center;
}

.portfolio-block.image-right .portfolio-content {
    order: 1;
}

.portfolio-block.image-right .portfolio-image {
    order: 2;
}

.portfolio-block.image-left .portfolio-image {
    order: 1;
}

.portfolio-block.image-left .portfolio-content {
    order: 2;
}

.portfolio-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 300;
    font-style: normal;
    margin-bottom: 24px;
    color: var(--yellow);
}

.portfolio-section.light .portfolio-title {
    color: var(--dark-navy);
}

.portfolio-content p {
    font-size: 0.95rem;
    font-weight: 300;
    line-height: 1.7;
    opacity: 0.9;
}

.portfolio-image img {
    width: 100%;
    height: auto;
}
.portfolio-section.semi-dark {
    background-color: var(--semi-dark);
    color: var(--white);
}



/* Container for Portfolio only */
.wide-portfolio {
    width: 95% !important;
    max-width: 2000px !important;
    margin: 0 auto;
}

.portfolio-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 8px; /* Horizon-style tight gap */
    justify-content: flex-start;
    padding-top:40px;
}

/* Base style: All images are the same height */
.gallery-item {
    height: 160px; /* Uniform height for every single image */
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

/* Width Controls */
.gallery-item.full-width {
    flex: 0 0 calc(38% - 8px); /* The wide default */
}

.gallery-item.medium {
    flex: 0 0 calc(24% - 8px); /* The -M truncated width */
}

.gallery-item.portrait {
    flex: 0 0 calc(13.5% - 8px); /* The -P skinny width */
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures images fill the box without stretching */
    display: block;
    transition: transform 0.4s ease; /* */
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Mobile: Single column stack */
@media (max-width: 600px) {
    .gallery-item.full-width,
    .gallery-item.medium,
    .gallery-item.portrait {
        flex: 0 0 100% !important;
        height: 250px; /* Slightly taller for mobile impact */
    }
}














/* ============================================
   BRANDING SECTION - With Blue Sky Repeater
   ============================================ */

.branding-section {
    position: relative;
    padding: var(--section-padding) 0;
    background-color: var(--white);
}

.branding-sky-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 450px;
    background: url('../images/blue-sky-repeater-x.png') repeat-x top center;
    background-size: auto 100%;
    z-index: 0;
}

.branding-section .container {
    position: relative;
    z-index: 1;
}

.branding-block {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.branding-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 300;
    margin-bottom: 24px;
}

.branding-content p {
    font-size: 0.95rem;
    font-weight: 300;
    line-height: 1.7;
    margin-bottom: 24px;
}

.branding-cta {
    margin-top: 16px;
}

.branding-cta a {
    color: var(--dark-navy);
    font-weight: 400;
    text-decoration: underline;
}

.branding-cta a:hover {
    color: var(--light-blue);
}

.branding-video {
    width: 100%;
}

/* ============================================
   CTA SECTION - Ready to Make Some Waves
   ============================================ */

.cta-section {
    position: relative;
    padding: 80px 0;
    background-color: var(--dark-navy);
    padding: 8em 0;
  
    
}

/* Wave dividers - placeholder for manual implementation */
.wave-divider {
    position: absolute;
    left: 0;
    right: 0;
    width: 100%;
    height: 43px;
}

.wave-divider.wave-top {
   height:22px;
    top: 9px;
    transform: translateY(-100%);
    background: url('../images/wave-divider-01.svg') repeat-x top ;
    

}

.wave-divider.wave-bottom {
    bottom: 15px;   height:25px;
    transform: translateY(100%);
    background: url('../images/wave-divider-01.svg') repeat-x top ;
    

}

.wave-divider.wave-bottom {
    filter: brightness(0) invert(1);
}

.cta-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    text-align: center;
}

.cta-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-style: italic;
    font-weight: 300;
    color: var(--white);
    margin-bottom: 0;
}

.cta-text {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
}

.flourish-cta {
    width: 120px;
    height: auto;
    flex-shrink: 0;
}

/* Light blue flourishes for CTA */
.flourish-cta-light {
    filter: brightness(0) saturate(100%) invert(78%) sepia(12%) saturate(416%) hue-rotate(166deg) brightness(92%) contrast(87%);
}

.cta-subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--white);
    line-height: 1.5;
    text-align: center;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    padding: 100px 0 80px;
    background-color: var(--light-blue);
    text-align: center;
}

.footer-main {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-social-group {
    display: flex;
    gap: 24px;
}

.footer-logo {
    height: 160px;
    width: auto;
}

.footer-social .social-icon {
    width: 48px;
    height: 48px;
    opacity: 0.8;
}

.footer-social:hover .social-icon {
    opacity: 1;
}

.footer-service-area {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 1.15rem;
    font-weight: 400;
    font-style: italic;
    color: var(--dark-navy);
    margin-bottom: 20px;
}

.location-icon {
    width: 16px;
    height: 16px;
}

.footer-contact {
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--dark-navy);
}

.footer-contact a {
    color: var(--dark-navy);
}

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

/* ============================================
   ABOUT PAGE STYLES
   ============================================ */

.hero, .about-hero {
    padding-top: calc(var(--header-height) + 60px);
    padding-bottom: var(--section-padding);
    background-color: var(--white);
}



/* To this (Standardizing the rule): */
.hero, .about-hero {
    padding-top: calc(var(--header-height) + 60px);
    padding-bottom: var(--section-padding);
    background-color: var(--white);
}
/* Change this: */
.about-hero {
    padding-top: calc(var(--header-height) + 60px);
    padding-bottom: var(--section-padding);
    background-color: var(--white);
}
.about-block {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: start;
}

.hero-standard {
    padding-top: calc(var(--header-height) + 60px); /* Uses your 220px variable + 60px buffer */
    padding-bottom: 80px;
    background-color: var(--white); /* Default to white like About page */
}

/* If you want the Portfolio to be dark, add this modifier */
.hero-standard.dark {
    background-color: var(--dark-navy);
    color: var(--white);
}

.hero-standard.dark h1 {
    color: var(--white);
}

.about-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 300;
    margin-bottom: 32px;
    color: var(--dark-navy);
}

.about-content .lead {
    font-size: 1.25rem;
    font-weight: 400;
    margin-bottom: 24px;
    color: var(--dark-navy);
}

.about-content p {
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--dark-navy);
}

.about-content strong {
    font-weight: 400;
    color: var(--dark-navy);
}

.about-image {
    position: sticky;
    top: calc(var(--header-height) + 40px);
}

.about-image img {
    width: 100%;
    height: auto;
}

/* About Company Section */
.about-company {
    padding: var(--section-padding) 0;
    background-color: var(--light-blue);
    color: var(--dark-navy);
}

.company-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 300;
    margin-bottom: 32px;
    color: var(--dark-navy);
}

.company-grid {
    display: block;
}

.company-content {
    max-width: 800px;
}

.company-intro {
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.8;
    margin-bottom: 48px;
    color: var(--dark-navy);
}

.beliefs {
    margin-bottom: 48px;
}

.beliefs h3 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 300;
    margin-bottom: 40px;
    color: var(--dark-navy);
}

.belief-item {
    margin-bottom: 32px;
    padding-left: 24px;
    border-left: 2px solid var(--dark-navy);
}

.belief-item h4 {
    font-size: 1.35rem;
    font-weight: 400;
    margin-bottom: 12px;
    color: var(--dark-navy);
}

.belief-item p {
    font-size: 0.95rem;
    font-weight: 300;
    line-height: 1.7;
    margin-bottom: 0;
    color: var(--dark-navy);
}

.company-pullquote {
    margin-top: 48px;
}

.company-closing {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 300;
    font-style: italic;
    color: var(--dark-navy);
    line-height: 1.4;
    max-width: 700px;
}

/* About CTA Section - Same as Homepage */
.about-cta {
    position: relative;
    padding: 80px 0;
    background-color: var(--dark-navy);
    margin-top: 30px;
    margin-bottom: 30px;
}

/* About page - remove CTA section margins */
.about-page .cta-section {
    margin-top: 0;
    margin-bottom: 0;
}

.cta-heading {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-style: italic;
    font-weight: 300;
    color: var(--white);
    margin-bottom: 16px;
}

.about-cta .cta-text-simple {
    font-size: 0.95rem;
    font-weight: 300;
    color: var(--white);
    margin-bottom: 12px;
    opacity: 0.9;
}

.about-cta .cta-text-simple a {
    color: var(--yellow);
    font-weight: 400;
}

.about-cta .cta-text-simple a:hover {
    text-decoration: underline;
}

/* Contact Section - Two Column Layout */
.contact-section {
    padding: var(--section-padding) 0;
    background-color: var(--yellow-soft);
    color: var(--dark-navy);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: start;
}

.contact-info {
    padding-top: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.contact-logo {
    width: 200px;
    height: auto;
    margin-bottom: 40px;
}

.contact-heading {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 400;
    margin-bottom: 24px;
    color: var(--dark-navy);
}

.contact-info p {
    font-size: 0.95rem;
    font-weight: 300;
    line-height: 1.7;
    color: var(--dark-navy);
}

.contact-info p a {
    color: var(--dark-navy);
    text-decoration: underline;
}

.contact-form-container {
    padding-top: 40px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 400;
    margin-bottom: 8px;
    color: var(--dark-navy);
}

.form-group label span {
    font-weight: 300;
    opacity: 0.7;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 300;
    border: none;
    border-radius: 3px;
    background-color: var(--white);
    color: var(--dark-navy);
    transition: box-shadow var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(30,35,43,0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form .btn {
    margin-top: 16px;
    background-color: var(--dark-navy);
    color: var(--yellow);
}

/* ============================================
   RESPONSIVE - LARGE TABLET / SMALL DESKTOP
   ============================================ */

@media (max-width: 1200px) {
    /* Reduce nav spacing to prevent collision with phone */
    .nav-left,
    .nav-right {
        gap: 32px;
    }
    
    .nav-left {
        margin-right: 70px;
    }
    
    .nav-right {
        margin-left: 70px;
    }
    
    .nav-list a {
        font-size: 1rem;
    }
    
    .logo {
        height: 140px;
    }
    
    .phone-link {
        font-size: 1rem;
        padding: 10px 20px;
    }
}

@media (max-width: 1050px) {
    /* Further reduce before switching to hamburger */
    .nav-left,
    .nav-right {
        gap: 24px;
    }
    
    .nav-left {
        margin-right: 60px;
    }
    
    .nav-right {
        margin-left: 60px;
    }
    
    .nav-list a {
        font-size: 0.95rem;
    }
    
    .logo {
        height: 120px;
    }
    
    .masthead-left {
        left: 24px;
    }
    
    .masthead-right {
        right: 24px;
    }
    
    .phone-link {
        font-size: 0.9rem;
        padding: 8px 16px;
    }
}

/* ============================================
   RESPONSIVE - TABLET
   ============================================ */

@media (max-width: 992px) {
    :root {
        --section-padding: 80px;
        --header-height: 140px;
        --header-height-scrolled: 100px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .portfolio-block,
    .branding-block {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .portfolio-block.image-right .portfolio-content,
    .portfolio-block.image-right .portfolio-image,
    .portfolio-block.image-left .portfolio-content,
    .portfolio-block.image-left .portfolio-image {
        order: unset;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .contact-info {
        text-align: center;
    }
    
    .contact-logo {
        margin: 0 auto 40px;
    }
    .portfolio-block.image-right .portfolio-content,
    .portfolio-block.image-right .portfolio-image,
    .portfolio-block.image-left .portfolio-image {
        order: unset;
    }
    
    .portfolio-block.image-left .portfolio-content {
        order: -1;
    }
    
    .portfolio-image img {
        max-height: 400px;
        object-fit: cover;
    }
    /* Tablet masthead - hide desktop nav, show hamburger */
    .nav-row {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
        position: absolute;
        right: 40px;
        top: 50%;
        transform: translateY(-50%);
    }
    
    .mobile-nav {
        display: block;
    }
    .about-page .nav-row,
    .about-page .nav-row a {
        pointer-events: auto;
        display: none;
    }
    /* Hide phone on tablet - show in mobile menu */
    .masthead-right {
        display: none;
    }
    
    .logo {
        height: 100px;
    }
    
    .masthead.scrolled .logo {
        height: 70px;
    }
}

/* --- Mobile View (1 Image Per Row) --- */
@media screen and (max-width: 768px) {
    .gallery-item.full-width,
    .gallery-item.medium,
    .gallery-item.portrait {
        flex: 0 0 100% !important; /* Force full width */
        height: 250px !important;  /* Make them taller for easier viewing on phones */
    }
    
    .portfolio-gallery {
        gap: 15px; /* Add a bit more space between images for mobile scrolling */
        padding: 0 5px; /* Small buffer so images don't touch the very edge of the screen */
    }
}

/* ============================================
   RESPONSIVE - MOBILE
   ============================================ */

@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
        --container-padding: 20px;
        --header-height: 100px;
        --header-height-scrolled: 80px;
    }
    
    @media (max-width: 768px) {
        .wave-divider.wave-top {
            top: 20px;
        }
        .portfolio-block.image-right .portfolio-content,
        .portfolio-block.image-right .portfolio-image,
        .portfolio-block.image-left .portfolio-image {
            order: unset;
        }
        
        .portfolio-block.image-left .portfolio-content {
            order: -1;
        }
        .wave-divider.wave-bottom {
            bottom: 0;
        }
        
        .portfolio-image img {
            max-height: 300px;
            object-fit: cover;
        }
        
        /* 1. LARGER MASTHEAD WITH BREATHING ROOM */
        header {
          padding: 44px 26px;  /* Increase vertical padding */
          min-height: 150px;   /* Ensure minimum height */
        }
        
        header .logo img,
        header img[src*="logo"] {
          height: 110px;        /* Double the logo height - adjust from current ~40px */
          width: auto;
        }
.section-title {
            font-size: 32px !important;
        }
       
        
        
    }
    
    /* Mobile masthead - simplified layout */
    .masthead-inner {
        padding: 0 20px;
    }
    
    .masthead-left {
        left: 20px;
    }
    
    .masthead-right {
        display: none;
    }
    /* ============================================
       HERO - MOBILE REFINEMENTS
       ============================================ */
    
    /* Reduce hero height on mobile */
    .hero {
        min-height: 400px;
        max-height: 500px;
        height: 60vh;
    }
    
    /* Crop top 150px by shifting background down */
    .hero-slide {
        background-position: center bottom;  /* Anchors to bottom, hiding top portion */
    }
    
    /* Tagline - larger, two-line layout */
    .hero-tagline {
        flex-direction: column;
        gap: 8px;
    }
    
    .hero-tagline span {
        font-size: 1.8rem;       /* Increase from current ~1.1rem */
        line-height: 1.2;
        white-space: normal;     /* Allow wrapping */
        text-align: center;
    }
    
    .hero-content {
        padding-top: 40px;
        gap: 40px;
    }
    /* Hide desktop nav on mobile */
    .nav-row {
        display: none;
    }
    
    .masthead-center {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
    }
    
    .logo {
        height: 70px;
    }
    
    .masthead.scrolled .logo {
        height: 75px!important;
    }
    
    /* Show hamburger */
    .mobile-menu-toggle {
        display: block;
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
    }
    
    .mobile-nav {
        display: block;
        top: var(--header-height);
    }
    
    .masthead.scrolled + .mobile-nav,
    .masthead.scrolled .mobile-nav {
        top: var(--header-height-scrolled);
    }
    
    /* Hero */
    .hero {
        min-height: 500px;
    }
    
    .hero-content {
        padding-top: 100px;
    }
    
    .hero-tagline {
        flex-direction: column;
        gap: 12px;
    }
    
    .flourish {
        width: 60px;
    }
  
  .hero-tagline {
      display: flex;
      flex-direction: row;
      align-items: center;      /* Vertically centers flourishes to text block */
      justify-content: center;
      gap: 16px;
  }
  .section-title {
      font-size: 44px !important;
      max-width: 350px;
      margin-left: auto;
      margin-right: auto;
  }
  .hero-tagline .flourish {
      display: block;
      flex-shrink: 0;
      width: 80px;
  }
  
  .hero-tagline span {
      max-width: 220px;         /* Forces wrap after "in" */
      text-align: center;
      font-size: 1.8rem;
      line-height: 1.2;
  }
  .hero-tagline span {
      max-width: 220px;
      text-align: center;
      font-size: 28px !important;    /* Fixed pixel value, override clamp */
      line-height: 1.2;
  }
  
  
  
  /* Make masthead-inner not capture any clicks */
  .masthead-inner {
      pointer-events: none;
  }
  
  /* Only these elements should be clickable */
  .masthead-left,
  .masthead-left a,
  .masthead-center,
  .masthead-center a,
  .mobile-menu-toggle {
      pointer-events: auto;
  }
  
  /* Ensure hamburger is on top of everything */
  .mobile-menu-toggle {
      z-index: 9999;
      position: absolute;
      right: 20px;
      top: 50%;
      transform: translateY(-50%);
  }
  
  
  
    /* Portfolio */
    .portfolio-block {
        gap: 40px;
    }
    
    .portfolio-title {
        font-size: 1.75rem;
    }
    
    /* CTA */
    .cta-text {
        flex-direction: column;
        gap: 16px;
    }
    
    .flourish-cta {
        display: none;
    }
    
    /* Footer - side by side social icons */
    .footer-main {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .footer-social-group {
        order: 2;
    }
    
    .footer-logo-link {
        order: 1;
        width: 100%;
        display: flex;
        justify-content: center;
        margin-bottom: 16px;
    }
    
    .footer-service-area {
        flex-direction: column;
        gap: 4px;
    }
    
    /* About */
    .about-hero {
        padding-top: calc(var(--header-height) + 40px);
    }
    
    .about-block {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-image {
        position: relative;
        top: 0;
        max-width: 300px;
        margin: 0 auto;
        order: -1;
    }
    
    .about-title {
        text-align: center;
    }
    
    .belief-item {
        padding-left: 16px;
    }
    
    .company-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .company-pullquote {
        padding: 20px 0;
    }
    
    /* Contact form */
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .masthead-right {
        display: none !important;
        visibility: hidden;
        pointer-events: none;
    }
    
    .phone-link {
        pointer-events: none;
    }
    
    
    #contact {
        scroll-margin-top: -125px!important;
    }
    
    
}

/* ============================================
   RESPONSIVE - SMALL MOBILE
   ============================================ */

@media (max-width: 480px) {
    .hero-tagline span {
        font-size: 1.1rem;
    }
    
 .wave-divider .wave-bottom {
  bottom: 33px;   height:25px;
  }
    .section-title {
        font-size: 1.75rem;
    }
}
.container p {
    font-size: 1.2rem;
}
.form-group label {
    font-size: 1.2rem;
}


.about-page .wave-divider.wave-top {
    filter: brightness(0) invert(1);
}

.about-page .wave-divider.wave-bottom {
    filter: none; /* keeps the original light blue */
}


/* Form notification banner */
.form-notification {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    padding: 20px;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 400;
    z-index: 999;
    display: none;
}

.form-notification.success {
    background-color: #d4edda;
    border-bottom: 3px solid #28a745;
    color: #155724;
}

.form-notification.error {
    background-color: #f8d7da;
    border-bottom: 3px solid #dc3545;
    color: #721c24;
}

.form-notification .close-btn {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: inherit;
    opacity: 0.7;
}

.form-notification .close-btn:hover {
    opacity: 1;
}


.form-notification {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    padding: 20px;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 400;
    z-index: 999;
    display: none;
}

#contact {
    scroll-margin-top: 250px!important;
}

.belief-item {
    border-left-color: var(--pink);
}

.company-closing {
    font-size: clamp(1.1rem, 2vw, 1.5rem) !important;
    font-weight: 400 !important;
    font-style: italic;n = np0--------
    color: var(--dark-navy);
    line-height: 1.2;
    margin-top: 80px;
    text-align: center;
    max-width: 100%;
}

.contact-info p a {
    color: var(--pink);
  
}
.contact-info p  {
   text-align: left;
  
}


/* Fix hamburger on about page */
.about-page .mobile-menu-toggle {
    z-index: 9999 !important;
    pointer-events: auto !important;
}

.about-page .masthead-inner {
    pointer-events: none;
}

.about-page .masthead-inner .masthead-left,
.about-page .masthead-inner .masthead-center,
.about-page .masthead-inner .mobile-menu-toggle {
    pointer-events: auto;
}

.about-page .form-notification {
    pointer-events: none;
    
    .hero-content {
        padding-top: 100px;
    } 
}
