/*
Theme Name: Kelsie O Studio
Theme URI: https://kelsieo.studio
Author: Kelsie Oreta
Author URI: https://kelsieo.studio
Description: A custom WordPress theme for Kelsie O Studio - Connecticut-based artist and multimedia storyteller passionate about the interplay between people and their environments.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: kelsieostudio
Tags: artist, portfolio, gallery, blog, custom-menu, custom-logo, featured-images

Finding magnificent in the mundane.
*/

/* ==========================================================================
   CSS Variables - Matching tinykelsie.com
   ========================================================================== */
:root {
    /* Primary Colors - EXACT values from tinykelsie.com */
    --color-sage: #a3ab4b;           /* Header background, navigation */
    --color-cream: #eaebd5;          /* Page backgrounds, light text */
    --color-forest: #4b8f41;         /* Services section background */
    --color-mauve: #bb9899;          /* Headings (h1, h2) */
    --color-gold: #efd65b;           /* Accent text, decorative elements */
    --color-dark: #131313;           /* Body text, dark backgrounds */

    /* Additional Colors */
    --color-text: #131313;           /* Default text color */
    --color-text-light: #686868;     /* Secondary text */
    --color-white: #ffffff;          /* Pure white */
    --color-overlay-dark: rgba(57, 90, 53, 0.85);  /* Dark green overlay */
    --color-overlay-light: rgba(234, 235, 213, 0.9); /* Cream overlay */

    /* Font Families - EXACT from tinykelsie.com */
    --font-display: 'Irish Grover', cursive;    /* Hero tagline, decorative headings */
    --font-heading: 'Unbounded', sans-serif;    /* Page titles, section headings */
    --font-nav: 'Comfortaa', sans-serif;        /* Navigation, buttons, labels */
    --font-body: 'Lato', sans-serif;            /* Body text, paragraphs */

    /* Spacing - based on tinykelsie.com */
    --spacing-xs: 8px;
    --spacing-sm: 16px;
    --spacing-md: 24px;
    --spacing-lg: 40px;
    --spacing-xl: 60px;
    --spacing-xxl: 88px;

    /* Layout */
    --header-height: 80px;
    --header-height-mobile: 61px;
    --container-max: 1200px;
    --container-narrow: 800px;

    /* Border Radius */
    --radius-sm: 10px;
    --radius-md: 20px;
    --radius-lg: 60px;
    --radius-xl: 84px;
    --radius-round: 50%;
}

/* ==========================================================================
   WordPress Override Reset
   ========================================================================== */
body.home,
body.page,
body.single,
body.archive {
    background-color: var(--color-cream);
}

.site {
    background-color: var(--color-cream);
}

.site-main {
    background-color: transparent;
}

/* Ensure our button styles override WordPress defaults */
.btn,
.wp-block-button__link,
button,
input[type="submit"] {
    font-family: var(--font-nav);
    background-color: var(--color-dark);
    color: var(--color-cream);
    border: 2px solid var(--color-dark);
    border-radius: var(--radius-sm);
}

/* Ensure heading colors */
.site-main h1,
.site-main h2,
.site-main h3,
.site-main h4 {
    color: var(--color-mauve);
    font-family: var(--font-heading);
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    background-color: var(--color-cream);
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-cream);
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 500;
    line-height: 1.2;
    color: var(--color-mauve);  /* All headings are mauve */
}

h1 {
    font-size: 63px;  /* Desktop */
}

h2 {
    font-size: 24px;
}

h3 {
    font-size: 20px;
}

p {
    margin-top: 0;
    margin-bottom: var(--spacing-sm);
    line-height: 1.6;
}

a {
    color: var(--color-text);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-sage);
}

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

.display-text {
    font-family: var(--font-display);
    font-weight: 400;
}

/* ==========================================================================
   Layout
   ========================================================================== */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.container--narrow {
    max-width: var(--container-narrow);
}

.section {
    padding: var(--spacing-xxl) 0;
    background-color: var(--color-cream);
}

.section--cream {
    background-color: var(--color-cream);
}

.section--sage {
    background-color: var(--color-sage);
}

.section--forest {
    background-color: var(--color-forest);
}

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

/* ==========================================================================
   Header & Navigation - Matching tinykelsie.com
   ========================================================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    height: var(--header-height);
    background-color: var(--color-sage);
    background-image: url('assets/images/painting_pollinator_garden_native_plants_fairfield_connecticut.jpg');
    background-size: cover;
    background-position: center;
}

/* Add overlay for readability */
.site-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--color-sage);
    opacity: 0.7;
    z-index: 1;
}

.site-header .container {
    position: relative;
    z-index: 2;
}

.site-header.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.site-branding a {
    font-family: var(--font-nav);
    font-size: 24px;
    font-weight: 600;
    color: var(--color-cream);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.site-branding a:hover {
    color: #ffffff;
}

.site-title-icon {
    width: 24px;
    height: 24px;
    stroke: var(--color-cream);
}

.main-navigation ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: var(--spacing-md);
}

.main-navigation a {
    font-family: var(--font-nav);
    font-size: 14px;
    font-weight: 600;
    text-transform: lowercase;
    letter-spacing: 0.1em;
    color: var(--color-cream);
    text-decoration: none;
    padding: 8px 16px;
    transition: opacity 0.3s ease;
}

.main-navigation a:hover {
    opacity: 0.7;
}

/* Dropdown indicator arrow */
.dropdown-indicator {
    font-size: 10px;
    margin-left: 4px;
    display: inline-block;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.menu-item-has-children > a {
    cursor: pointer;
}

.menu-item-has-children.dropdown-open .dropdown-indicator {
    transform: rotate(180deg);
}

/* Parent items need relative positioning for dropdown */
.main-navigation > ul > li {
    position: relative;
}

.main-navigation ul ul,
.main-navigation .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--color-sage);
    min-width: 180px;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Show dropdown on click (via JS adding .dropdown-open class) */
.main-navigation li.dropdown-open > ul,
.main-navigation li.dropdown-open > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.main-navigation ul ul li,
.main-navigation .sub-menu li {
    width: 100%;
}

.main-navigation ul ul a,
.main-navigation .sub-menu a {
    display: block;
    padding: 8px 20px;
    font-size: 13px;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none; /* Hidden by default on desktop */
}

/* ==========================================================================
   Hero Section - Matching tinykelsie.com
   ========================================================================== */
.hero {
    position: relative;
    min-height: 571px;  /* Desktop height from tinykelsie */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px;  /* Account for fixed header */
    overflow: hidden;
}

.hero__background {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background-color: var(--color-sage);
    opacity: 0.2;  /* 80% image visible */
    z-index: 1;
}

.hero__content {
    position: relative;
    z-index: 2;
    padding: 40px 20px;
}

.hero__headlines {
    position: relative;
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero__title {
    font-family: var(--font-display);  /* Irish Grover */
    font-size: 63px;
    font-weight: 400;
    color: var(--color-gold);  /* Gold color */
    margin-bottom: 16px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}

/* Animated headline cycling */
.headline_view {
    position: absolute;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    pointer-events: none;
}

.headline_view.active {
    position: relative;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.hero__subtitle {
    font-family: var(--font-nav);  /* Comfortaa */
    font-size: 20px;
    font-weight: 400;
    color: var(--color-cream);
    letter-spacing: 0.05em;
}

.hero__portrait {
    position: absolute;
    right: 60px;
    top: 50%;
    transform: translateY(-50%);
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    z-index: 2;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero__portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ==========================================================================
   Buttons - Matching tinykelsie.com
   ========================================================================== */
/* Base button */
.btn {
    display: inline-block;
    font-family: var(--font-nav);  /* Comfortaa */
    font-size: 14px;
    font-weight: 600;
    text-transform: lowercase;
    letter-spacing: 0.1em;
    padding: 10px 20px;
    border-radius: 10px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Primary button - dark background */
.btn--primary,
.btn {
    background-color: var(--color-dark);
    color: var(--color-cream);
    border: 2px solid var(--color-dark);
}

.btn--primary:hover,
.btn:hover {
    opacity: 0.85;
}

/* Outline button - transparent with border */
.btn--outline {
    background-color: transparent;
    color: var(--color-dark);
    border: 2px solid var(--color-dark);
}

.btn--outline:hover {
    background-color: var(--color-dark);
    color: var(--color-cream);
}

/* Sage button */
.btn--sage {
    background-color: var(--color-sage);
    color: var(--color-cream);
    border: 2px solid var(--color-sage);
}

.btn--sage:hover {
    opacity: 0.85;
}

/* Gold button */
.btn--gold {
    background-color: var(--color-gold);
    color: var(--color-dark);
    border: 2px solid var(--color-gold);
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-home {
    padding: 80px 0;
}

.about-home__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-home__title {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 500;
    color: var(--color-mauve);
    margin-bottom: 24px;
}

.about-home__text {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.8;
    color: var(--color-text);
    margin-bottom: 32px;
}

.about-home__image {
    border-radius: 84px;  /* Large rounded corners - tinykelsie uses 248px for portraits */
    overflow: hidden;
}

.about-home__image img {
    width: 100%;
    height: auto;
    display: block;
}

/* ==========================================================================
   Services/Shop Section - Matching tinykelsie.com
   ========================================================================== */
.section--forest {
    background-color: var(--color-forest);
}

.services-home {
    padding: 60px 0;
}

.services-home__title {
    font-family: var(--font-heading);
    font-size: 24px;
    color: var(--color-cream);
    margin-bottom: 40px;
    text-transform: lowercase;
}

.services-home__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.service-box {
    background-color: var(--color-cream);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.service-box__icon {
    margin-bottom: 20px;
}

.service-box__icon svg {
    width: 48px;
    height: 48px;
    stroke: var(--color-gold);
}

.service-box__title {
    font-family: var(--font-heading);
    font-size: 20px;
    color: var(--color-gold);
    margin-bottom: 8px;
    text-transform: lowercase;
}

.service-box__desc {
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--color-text);
}

/* ==========================================================================
   Contact Section - Matching tinykelsie.com
   ========================================================================== */
.contact-home {
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.contact-home__content {
    position: relative;
    z-index: 1;
}

.contact-home__title {
    font-family: var(--font-display);  /* Irish Grover */
    font-size: 48px;
    color: var(--color-gold);
    margin-bottom: 16px;
}

.contact-home__text {
    font-family: var(--font-body);
    font-size: 18px;
    color: var(--color-text);
    margin-bottom: 8px;
}

.contact-home__cta {
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--color-text);
    margin-bottom: 32px;
}

/* Decorative circles */
.contact-home__circle {
    position: absolute;
    border-radius: 50%;
    border: 2px solid var(--color-sage);
    opacity: 0.3;
    pointer-events: none;
}

.contact-home__circle--1 {
    width: 150px;
    height: 150px;
    top: 20%;
    left: 10%;
}

.contact-home__circle--2 {
    width: 100px;
    height: 100px;
    bottom: 15%;
    right: 15%;
}

/* ==========================================================================
   Homepage Gallery Section
   ========================================================================== */
.gallery-section {
    background-color: var(--color-cream);
    padding: var(--spacing-xxl) 0;
}

.gallery-section h2 {
    font-family: var(--font-heading);
    font-size: 24px;
    color: var(--color-mauve);
    margin-bottom: var(--spacing-sm);
}

.gallery-grid {
    column-count: 2;
    column-gap: 25px;
    padding: 0;
}

.gallery-grid .gallery-item {
    display: block;
    break-inside: avoid;
    margin-bottom: 25px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.gallery-grid .gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

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

.gallery-item__overlay {
    position: absolute;
    inset: 0;
    background: var(--color-overlay-dark);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: var(--spacing-md);
}

.gallery-item:hover .gallery-item__overlay {
    opacity: 1;
}

.gallery-item__title {
    font-family: var(--font-heading);
    color: var(--color-cream);
    font-size: 1.25rem;
    margin-bottom: var(--spacing-xs);
    text-align: center;
}

.gallery-item__meta {
    color: var(--color-gold);
    font-size: 0.85rem;
}

/* ==========================================================================
   Gallery/Portfolio - Matching tinykelsie.com
   ========================================================================== */

/* ==========================================================================
   Newsletter Section
   ========================================================================== */
.newsletter-section {
    background-color: var(--color-forest);
    padding: var(--spacing-xl) 0;
    text-align: center;
}

.newsletter-section h3 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: var(--color-gold);
    margin-bottom: var(--spacing-md);
}

.newsletter-section p {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--color-cream);
    max-width: 500px;
    margin: 0 auto var(--spacing-lg);
}

.newsletter-form {
    display: flex;
    justify-content: center;
    gap: var(--spacing-sm);
    max-width: 500px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.newsletter-form input[type="email"] {
    flex: 1;
    min-width: 250px;
    padding: 12px 16px;
    border: none;
    border-radius: var(--radius-sm);
    background-color: var(--color-cream);
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--color-dark);
}

.newsletter-form input[type="email"]::placeholder {
    color: var(--color-text-light);
}

.newsletter-form input[type="email"]:focus {
    outline: 2px solid var(--color-gold);
    outline-offset: 2px;
}

.newsletter-form button {
    padding: 12px 24px;
    border: none;
    border-radius: var(--radius-sm);
    background-color: var(--color-gold);
    color: var(--color-dark);
    font-family: var(--font-nav);
    font-size: 14px;
    font-weight: 600;
    text-transform: lowercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.newsletter-form button:hover {
    opacity: 0.85;
}

@media (max-width: 768px) {
    .newsletter-section h3 {
        font-size: 1.75rem;
    }

    .newsletter-form {
        flex-direction: column;
        padding: 0 var(--spacing-md);
    }

    .newsletter-form input[type="email"] {
        min-width: 100%;
    }
}

/* ==========================================================================
   Blog Section (Homepage)
   ========================================================================== */
.blog-section {
    background-color: var(--color-cream);
    padding: var(--spacing-xxl) 0;
}

.blog-section h2 {
    font-family: var(--font-heading);
    font-size: 24px;
    color: var(--color-mauve);
    margin-bottom: var(--spacing-lg);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
}

.blog-card {
    background-color: var(--color-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.blog-card__image {
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.blog-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-card__image img {
    transform: scale(1.05);
}

.blog-card__content {
    padding: var(--spacing-md);
}

.blog-card__category {
    font-family: var(--font-nav);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-sage);
    margin-bottom: var(--spacing-xs);
    display: block;
}

.blog-card__title {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    color: var(--color-text);
    margin-bottom: var(--spacing-xs);
    line-height: 1.3;
}

.blog-card__title a {
    color: inherit;
    text-decoration: none;
}

.blog-card__title a:hover {
    color: var(--color-mauve);
}

.blog-card__excerpt {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--color-text-light);
    line-height: 1.5;
}

@media (max-width: 992px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
}


.gallery-page {
    padding-top: 120px;  /* Header height + spacing */
    padding-bottom: 60px;
    background-color: var(--color-cream);
}

.gallery-page__header {
    text-align: center;
    margin-bottom: 40px;
}

.gallery-page__title {
    font-family: var(--font-heading);
    font-size: 36px;
    color: var(--color-mauve);
    text-transform: lowercase;
    margin-bottom: 16px;
}

.gallery-page__subtitle {
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--color-text);
    max-width: 600px;
    margin: 0 auto;
}

/* Masonry Grid */
.gallery-page__grid {
    column-count: 2;
    column-gap: 25px;
    padding: 0 25px;
}

.gallery-item {
    display: block;
    break-inside: avoid;
    margin-bottom: 25px;
    border-radius: 12px;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

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

/* ==========================================================================
   Footer - Matching tinykelsie.com
   ========================================================================== */
.site-footer {
    position: relative;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

.site-footer__background {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.site-footer__overlay {
    position: absolute;
    inset: 0;
    background-color: var(--color-cream);
    opacity: 0.85;
    z-index: 1;
}

.site-footer__content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 20px 0;
}

.site-footer__logo {
    font-family: var(--font-nav);
    font-size: 20px;
    font-weight: 600;
    color: var(--color-dark);
    text-decoration: none;
}

.site-footer__location {
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--color-text);
    margin-top: 4px;
}

.site-footer__bottom {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 10px 0;
    font-size: 12px;
    color: var(--color-text-light);
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */
/* Text Colors */
.text-cream { color: var(--color-cream); }
.text-dark { color: var(--color-dark); }
.text-mauve { color: var(--color-mauve); }
.text-gold { color: var(--color-gold); }

/* Text Alignment */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

/* Text Transform */
.text-lowercase { text-transform: lowercase; }
.text-uppercase { text-transform: uppercase; }

/* ==========================================================================
   Responsive Design - Matching tinykelsie.com breakpoints
   ========================================================================== */
@media (max-width: 992px) {
    h1 {
        font-size: 42px;
    }

    h2 {
        font-size: 28px;
    }

    .hero__title {
        font-size: 42px;
    }

    .hero__tagline {
        font-size: 1.5rem;
    }

    .about-section {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 61px;
    }
    .site-header {
        height: 61px;
    }

    .menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        width: 30px;
        height: 30px;
        background: transparent;
        border: none;
        cursor: pointer;
    }

    .menu-toggle span {
        display: block;
        width: 100%;
        height: 2px;
        background-color: var(--color-cream);
        transition: transform 0.3s ease;
    }
/* Hamburger menu animation */
.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

    .hero {
        min-height: 275px;
        padding-top: 61px;
    }

    .hero__headlines {
        min-height: 50px;
    }

    .hero__title {
        font-size: 36px;
    }

    .hero__subtitle {
        font-size: 12px;
    }

    .hero__portrait {
        display: none;  /* Hide on mobile */
    }
    .about-home__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-home__image {
        border-radius: 20px;
        order: -1;  /* Image first on mobile */
    }
    .services-home__grid {
        grid-template-columns: 1fr;
    }
    .contact-home__title {
        font-size: 32px;
    }
    .btn {
        font-size: 12px;
        padding: 8px 16px;
    }
    .site-footer {
        min-height: 70px;
    }
    .gallery-page {
        padding-top: 80px;
    }

    .gallery-page__grid {
        column-count: 1;
        column-gap: 8px;
        padding: 0 8px;
    }

    .gallery-item {
        margin-bottom: 8px;
    }

    .gallery-page__title {
        font-size: 28px;
    }

    h1 {
        font-size: 36px;
    }

    h2 {
        font-size: 24px;
    }

    h3 {
        font-size: 20px;
    }

    body {
        font-size: 14px;
    }

    .main-navigation {
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        background: rgba(163, 171, 75, 0.95);
        padding: var(--spacing-md);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .main-navigation.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .main-navigation ul {
        flex-direction: column;
        align-items: center;
        gap: var(--spacing-sm);
    }

    /* Mobile dropdown menus */
    .main-navigation ul ul,
    .main-navigation .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background-color: rgba(255, 255, 255, 0.1);
        box-shadow: none;
        margin-top: var(--spacing-xs);
        padding: var(--spacing-xs);
    }

    .dropdown-indicator {
        display: none;
    }

    .hero__tagline {
        font-size: 1.25rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    /* Gallery grid single column on mobile */
    .gallery-grid {
        column-count: 1;
        column-gap: 8px;
        padding: 8px;
    }

    .gallery-item {
        padding-bottom: 8px;
    }

    .contact-section__heading {
        font-size: 2rem;
    }
    .site-footer {
        min-height: 70px;
    }
}

@media (max-width: 480px) {
    .section {
        padding: var(--spacing-lg) 0;
    }

    .gallery-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .btn {
        font-size: 12px;
        padding: 8px 12px;
    }
}