/* ========================================
   CSS Variables & Reset
======================================== */
:root {
    --color-primary: #333e3b;
    --color-accent: #95a148;
    --color-accent-dark: #7a8539;
    --color-green: #65a14d;
    --color-white: #ffffff;
    --color-light: #f8f8f8;
    --color-gray: #666666;
    --color-dark-gray: #444444;
    --color-form-bg: #3a4642;
    --color-orange: #e8833a;

    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Source Sans 3', -apple-system, BlinkMacSystemFont, sans-serif;

    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
    --transition-slow: 0.5s ease;

    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-medium: 0 8px 30px rgba(0, 0, 0, 0.12);
    --shadow-strong: 0 12px 40px rgba(0, 0, 0, 0.18);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-primary);
    background-color: var(--color-white);
    overflow-x: hidden;
}

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

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

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

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   Header
======================================== */
.header {
    position: relative;
    background: var(--color-white);
    padding: 10px 0 0;
    z-index: 100;
    border-bottom: 1px solid #eee;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px 10px;
    max-width: 1200px;
    margin: 0 auto;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 30px;
    height: 30px;
    padding: 5px;
    z-index: 101;
}

.menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background-color: var(--color-primary);
    transition: var(--transition-fast);
}

.menu-toggle:hover span {
    background-color: var(--color-accent);
}

/* Logo Area */
.logo-area {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.logo {
    display: block;
}

.logo-img {
    height: 55px;
    width: auto;
    display: block;
}

.tagline {
    font-family: var(--font-display);
    font-size: 0.92rem;
    font-weight: 700;
    color: #b8960c;
    margin-top: 1px;
    white-space: nowrap;
    letter-spacing: 0.01em;
}

/* Desktop Nav */
.desktop-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.desktop-nav-links {
    display: flex;
    align-items: center;
    gap: 22px;
    list-style: none;
}

.desktop-nav-links > li {
    position: relative;
}

.desktop-nav-links > li > a {
    display: flex;
    align-items: center;
    gap: 2px;
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--color-primary);
    transition: color var(--transition-fast);
    white-space: nowrap;
}

.desktop-nav-links > li > a:hover,
.desktop-nav-links > li > a.active {
    color: var(--color-accent);
}

.nav-arrow {
    width: 18px;
    height: 18px;
    transition: transform var(--transition-fast);
}

.has-dropdown:hover .nav-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-white);
    box-shadow: var(--shadow-medium);
    border-radius: 6px;
    min-width: 160px;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-fast), visibility var(--transition-fast), top var(--transition-fast);
    z-index: 200;
}

.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    top: calc(100% + 5px);
}

.dropdown-menu li a {
    display: block;
    padding: 10px 18px;
    font-size: 0.9rem;
    color: var(--color-primary);
    transition: background var(--transition-fast), color var(--transition-fast);
}

.dropdown-menu li:first-child a {
    border-radius: 6px 6px 0 0;
}

.dropdown-menu li:last-child a {
    border-radius: 0 0 6px 6px;
}

.dropdown-menu li a:hover {
    background: var(--color-light);
    color: var(--color-accent);
}

/* Chat Button */
.chat-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--color-orange);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition-fast), transform var(--transition-fast);
    box-shadow: var(--shadow-soft);
    flex-shrink: 0;
    animation: heartbeat 3s ease-in-out infinite;
}

.chat-btn svg {
    width: 22px;
    height: 22px;
}

.chat-btn:hover {
    background: #d6752d;
    animation: none;
    transform: scale(1.1);
}

/* ========================================
   Mobile Navigation
======================================== */
.mobile-nav {
    position: fixed;
    top: 0;
    left: -320px;
    width: 300px;
    height: 100vh;
    background: var(--color-white);
    z-index: 1000;
    padding: 25px;
    box-shadow: var(--shadow-strong);
    transition: left var(--transition-medium);
    overflow-y: auto;
}

.mobile-nav.active {
    left: 0;
}

.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-medium);
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.mobile-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-primary);
}

.mobile-logo .logo-icon {
    width: 35px;
    height: 35px;
}

.close-menu {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
}

.close-menu svg {
    width: 24px;
    height: 24px;
}

.close-menu:hover {
    color: var(--color-accent);
}

.nav-links {
    margin-bottom: 40px;
}

.nav-links > li {
    border-bottom: 1px solid #f0f0f0;
}

.nav-links > li > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-primary);
    transition: var(--transition-fast);
}

.nav-links > li > a:hover,
.nav-links > li > a.active {
    color: var(--color-accent);
}

.dropdown-arrow {
    width: 20px;
    height: 20px;
    transition: transform var(--transition-fast);
}

.has-submenu.open .dropdown-arrow {
    transform: rotate(180deg);
}

.submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-medium);
    padding-left: 20px;
}

.has-submenu.open .submenu {
    max-height: 200px;
}

.submenu li a {
    display: block;
    padding: 10px 0;
    font-size: 0.95rem;
    color: var(--color-gray);
}

.submenu li a:hover {
    color: var(--color-accent);
}

.mobile-nav-contact {
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    font-size: 0.95rem;
    color: var(--color-gray);
}

.contact-link svg {
    width: 20px;
    height: 20px;
    color: var(--color-accent);
}

.contact-link:hover {
    color: var(--color-primary);
}

/* ========================================
   Hero Section
======================================== */
.hero {
    width: 100%;
    height: 65vh;
    min-height: 450px;
    max-height: 750px;
    overflow: hidden;
    background: linear-gradient(135deg, #65a14d 0%, #333e3b 100%);
    position: relative;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* ========================================
   About Section
======================================== */
.about {
    padding: 70px 20px;
    text-align: center;
    background: var(--color-white);
}

.about-title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 25px;
    line-height: 1.3;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.about-text {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--color-gray);
    max-width: 900px;
    margin: 0 auto;
}

/* ========================================
   Projects Section
======================================== */
.projects {
    padding: 70px 20px;
    background: var(--color-light);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 600;
    color: var(--color-primary);
    text-align: center;
    margin-bottom: 50px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    max-width: 1100px;
    margin: 0 auto;
}

.project-card {
    display: block;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-medium);
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-strong);
}

.project-image {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: linear-gradient(135deg, #65a14d 0%, #333e3b 100%);
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
    display: block;
}

.project-card:hover .project-image img {
    transform: scale(1.08);
}

.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 25px 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.3) 60%, transparent 100%);
    display: flex;
    align-items: flex-end;
}

.project-overlay h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--color-white);
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* ========================================
   Contact Section
======================================== */
.contact-section {
    padding: 70px 20px;
    background: var(--color-white);
}

.contact-form {
    max-width: 700px;
    margin: 0 auto;
    padding: 40px;
    background: var(--color-form-bg);
    border-radius: 10px;
    box-shadow: var(--shadow-medium);
}

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

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
    margin-bottom: 20px;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-white);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    padding: 12px 15px;
    border: none;
    border-radius: 5px;
    font-family: inherit;
    font-size: 0.95rem;
    background: var(--color-white);
    color: var(--color-primary);
    transition: var(--transition-fast);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #999;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(149, 161, 72, 0.3);
}

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

.checkbox-group {
    display: flex;
    gap: 25px;
    margin-top: 5px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 0.95rem;
    color: var(--color-white);
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--color-accent);
    cursor: pointer;
}

.submit-btn {
    display: block;
    width: auto;
    min-width: 140px;
    margin: 30px auto 0;
    padding: 12px 35px;
    background: var(--color-white);
    color: var(--color-primary);
    font-family: inherit;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 25px;
    transition: var(--transition-fast);
    box-shadow: var(--shadow-soft);
}

.submit-btn:hover {
    background: var(--color-accent);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

/* ========================================
   Footer
======================================== */
.footer {
    padding: 30px 20px;
    background: var(--color-light);
    text-align: center;
    border-top: 1px solid #e5e5e5;
}

.footer p {
    font-size: 0.9rem;
    color: var(--color-gray);
}

/* ========================================
   Floating Message Button
======================================== */
.floating-message {
    position: fixed;
    bottom: 25px;
    right: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px 12px 15px;
    background: var(--color-orange);
    color: var(--color-white);
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 500;
    box-shadow: var(--shadow-medium);
    z-index: 100;
    transition: background var(--transition-fast), transform var(--transition-fast);
    animation: heartbeat 3s ease-in-out infinite;
}

.floating-message svg {
    width: 24px;
    height: 24px;
}

.floating-message:hover {
    background: #d6752d;
    animation: none;
    transform: translateY(-3px) scale(1.04);
    box-shadow: var(--shadow-strong);
}

.floating-message:hover {
    background: #d6752d;
    transform: translateY(-3px);
    box-shadow: var(--shadow-strong);
}

/* ========================================
   Gallery Page
======================================== */
.page-header {
    padding: 100px 20px 60px;
    text-align: center;
    background: var(--color-white);
}

.page-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 600;
    color: var(--color-primary);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding: 0;
    max-width: 1400px;
    margin: 0 auto 60px;
}

.gallery-item {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    cursor: pointer;
    background: linear-gradient(135deg, #65a14d 0%, #333e3b 100%);
}

.gallery-item.large {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
    display: block;
}

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

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0);
    transition: background var(--transition-fast);
}

.gallery-item:hover::after {
    background: rgba(0,0,0,0.15);
}

.gallery-zoom-icon {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-fast);
    z-index: 2;
    pointer-events: none;
}

.gallery-zoom-icon svg {
    width: 48px;
    height: 48px;
    fill: white;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.5));
}

.gallery-item:hover .gallery-zoom-icon {
    opacity: 1;
}

/* ========================================
   References Page
======================================== */
.references-hero {
    position: relative;
    height: 320px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #65a14d 0%, #333e3b 100%);
}

.references-hero img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
    display: block;
}

.references-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.38);
}

.references-hero-title {
    position: relative;
    z-index: 1;
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 600;
    color: var(--color-white);
    text-shadow: 0 3px 12px rgba(0,0,0,0.35);
    letter-spacing: 0.02em;
}

.references-section {
    padding: 50px 30px 70px;
    background: var(--color-white);
    max-width: 1200px;
    margin: 0 auto;
}

.references-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 30px;
}

/* Large cards span 1.5 cols each → use a 6-col grid trick */
.references-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 25px;
}

.ref-card--large {
    grid-column: span 3;
}

.ref-card--small {
    grid-column: span 2;
}

.ref-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Slider */
.ref-slider {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: 4px;
    background: #ddd;
}

.ref-slides {
    display: flex;
    width: 100%;
    height: 100%;
    position: relative;
}

.ref-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.5s ease;
}

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

.ref-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ref-prev,
.ref-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.75);
    color: var(--color-primary);
    font-size: 1.5rem;
    border-radius: 50%;
    z-index: 10;
    transition: background var(--transition-fast), color var(--transition-fast);
    line-height: 1;
}

.ref-prev { left: 10px; }
.ref-next { right: 10px; }

.ref-prev:hover,
.ref-next:hover {
    background: var(--color-white);
    color: var(--color-accent);
}

.ref-testimonial {
    font-size: 0.88rem;
    line-height: 1.55;
    color: var(--color-dark-gray);
    text-align: center;
    padding: 0 5px;
}

/* Responsive */
@media (max-width: 900px) {
    .references-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .ref-card--large {
        grid-column: span 1;
    }
    .ref-card--small {
        grid-column: span 1;
    }
}

@media (max-width: 600px) {
    .references-section {
        padding: 35px 15px 50px;
    }
    .references-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .ref-card--large,
    .ref-card--small {
        grid-column: span 1;
    }
    .references-hero {
        height: 220px;
    }
}

/* ========================================
   Contact Page
======================================== */
.contact-hero {
    position: relative;
    height: 350px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #65a14d 0%, #333e3b 100%);
}

.contact-hero img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.contact-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.35);
}

.contact-hero h1 {
    position: relative;
    z-index: 1;
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 600;
    color: var(--color-white);
    text-shadow: 0 3px 10px rgba(0,0,0,0.3);
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 60px;
    padding: 50px 20px;
    background: var(--color-white);
    flex-wrap: wrap;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--color-primary);
    font-size: 1rem;
    transition: var(--transition-fast);
}

.contact-info-item:hover {
    color: var(--color-accent);
}

.contact-info-item svg {
    width: 28px;
    height: 28px;
    color: var(--color-accent);
}

.contact-form-section {
    padding: 0 20px 80px;
    background: var(--color-white);
}

/* Form status notices */
.form-notice {
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 700px;
    margin: 0 auto 25px;
    padding: 15px 20px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
}

.form-notice svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

.form-notice--success {
    background: #edfbea;
    color: #2e7d32;
    border: 1px solid #a5d6a7;
}

.form-notice--success svg {
    fill: #2e7d32;
}

.form-notice--error {
    background: #fdecea;
    color: #c62828;
    border: 1px solid #ef9a9a;
}

.form-notice--error svg {
    fill: #c62828;
}

/* reCAPTCHA */
.recaptcha-wrap {
    display: flex;
    justify-content: center;
    margin-top: 5px;
}

/* ========================================
   Lightbox
======================================== */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.95);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: var(--shadow-strong);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 25px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-size: 2rem;
    transition: var(--transition-fast);
}

.lightbox-close:hover {
    color: var(--color-accent);
    transform: scale(1.1);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-size: 2.5rem;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    transition: var(--transition-fast);
    line-height: 1;
}

.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255,255,255,0.25);
    color: var(--color-accent);
}

.lightbox-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    font-family: var(--font-body);
}

/* ========================================
   Responsive Design
======================================== */
@media (max-width: 1024px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-item.large {
        grid-column: span 1;
        grid-row: span 1;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .desktop-nav {
        display: none;
    }

    .header-content {
        padding: 0 15px 12px;
    }

    .logo-img {
        height: 45px;
    }

    .tagline {
        font-size: 0.85rem;
    }

    .hero {
        height: 50vh;
        min-height: 300px;
    }

    .about {
        padding: 50px 20px;
    }

    .projects {
        padding: 50px 20px;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

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

    .contact-form {
        padding: 30px 25px;
    }

    .contact-info {
        flex-direction: column;
        gap: 25px;
        align-items: center;
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        gap: 5px;
    }

    .floating-message {
        bottom: 20px;
        right: 20px;
        padding: 10px 15px 10px 12px;
        font-size: 0.85rem;
    }

    .floating-message svg {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 480px) {
    .logo-img {
        height: 38px;
    }

    .tagline {
        font-size: 0.8rem;
    }

    .chat-btn {
        width: 35px;
        height: 35px;
    }

    .chat-btn svg {
        width: 18px;
        height: 18px;
    }

    .about-title {
        font-size: 1.3rem;
    }

    .about-text {
        font-size: 0.95rem;
    }

    .section-title {
        font-size: 1.6rem;
        margin-bottom: 35px;
    }

    .project-overlay h3 {
        font-size: 1.2rem;
    }

    .contact-form {
        padding: 25px 20px;
    }

    .checkbox-group {
        flex-direction: column;
        gap: 15px;
    }

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

    .message-label {
        display: none;
    }

    .floating-message {
        padding: 14px;
        border-radius: 50%;
    }
}

/* ========================================
   Animations
======================================== */
@keyframes heartbeat {
    0%   { transform: scale(1); }
    50%  { transform: scale(1.06); }
    100% { transform: scale(1); }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.about,
.projects,
.contact-section {
    animation: fadeIn 0.8s ease forwards;
}

.project-card {
    animation: fadeIn 0.6s ease forwards;
}

.project-card:nth-child(1) { animation-delay: 0.1s; }
.project-card:nth-child(2) { animation-delay: 0.2s; }
.project-card:nth-child(3) { animation-delay: 0.3s; }

/* Focus States for Accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 3px solid var(--color-accent);
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .header,
    .mobile-nav,
    .nav-overlay,
    .floating-message,
    .chat-btn {
        display: none !important;
    }

    .hero {
        height: auto;
        margin-top: 0;
    }

    body {
        font-size: 12pt;
    }
}