/**
 * ============================================
 * PENA'S PAINTING - Main Stylesheet
 * Quality Service Since 2019
 * ============================================
 * 
 * Table of Contents:
 * 1. CSS Variables & Reset
 * 2. Typography & Base Styles
 * 3. Navigation
 * 4. Hero Section
 * 5. Section Common Styles
 * 6. About Section
 * 7. Services Section
 * 8. Gallery Section
 * 9. Video Section
 * 10. Instagram Section
 * 11. Landmark Section
 * 12. Testimonials Section
 * 13. Service Area Section
 * 14. Contact Section
 * 15. Footer
 * 16. Animations
 * 17. Responsive Styles
 */

/* ============================================
   1. CSS Variables & Reset
   ============================================ */
:root {
    /* Color Palette */
    --white: #FFFFFF;
    --off-white: #F8F8F8;
    --light-gray: #E5E5E5;
    --mid-gray: #888888;
    --charcoal: #1A1A1A;
    --black: #0A0A0A;
    --light-stroke: rgba(0, 0, 0, 0.1);
}

/* Reset default browser styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

/* ============================================
   2. Typography & Base Styles
   ============================================ */
body {
    font-family: 'Source Sans 3', sans-serif;
    background-color: var(--white);
    color: var(--charcoal);
    line-height: 1.7;
    overflow-x: hidden;
}

/* Decorative line pattern - inspired by logo */
.line-pattern {
    position: absolute;
    width: 120px;
    height: 40px;
    background: repeating-linear-gradient(
        90deg,
        var(--light-stroke) 0px,
        var(--light-stroke) 1px,
        transparent 1px,
        transparent 8px
    );
    opacity: 0.6;
}

/* ============================================
   3. Navigation
   ============================================ */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: linear-gradient(to bottom, var(--white) 60%, transparent);
    transition: all 0.3s ease;
}

/* Scrolled state - solid background with shadow */
nav.scrolled {
    background: var(--white);
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    padding: 1rem 5%;
}

/* Logo styling */
.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--charcoal);
    letter-spacing: 0.02em;
}

.logo-text span {
    color: var(--charcoal);
    font-weight: 700;
}

/* Navigation links */
.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links.active {
    display: flex;
}

.nav-links a {
    text-decoration: none;
    color: var(--charcoal);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 4px;
}

/* Underline animation on hover */
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--charcoal);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Mobile menu hamburger icon */
.mobile-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
}

.mobile-menu span {
    width: 25px;
    height: 2px;
    background: var(--charcoal);
    transition: all 0.3s ease;
}

/* ============================================
   4. Hero Section
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 120px 5% 80px;
    overflow: hidden;
}

/* Decorative background lines */
.hero-bg-lines {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: repeating-linear-gradient(
        90deg,
        var(--light-stroke) 0px,
        var(--light-stroke) 1px,
        transparent 1px,
        transparent 12px
    );
    border-radius: 50%;
    opacity: 0.4;
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
    max-width: 800px;
}

/* "Est. 2019" badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--mid-gray);
    margin-bottom: 2rem;
    animation: fadeInDown 1s ease;
}

.hero-badge::before,
.hero-badge::after {
    content: '';
    width: 40px;
    height: 1px;
    background: var(--charcoal);
}

/* Logo container */
.hero-logo {
    width: 200px;
    height: 200px;
    margin: 0 auto 2rem;
    animation: fadeIn 1.2s ease;
}

.hero-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Main heading */
.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 500;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero h1 .accent {
    color: var(--charcoal);
    font-style: italic;
}

/* Tagline text */
.hero-tagline {
    font-size: 1.2rem;
    color: var(--mid-gray);
    margin-bottom: 3rem;
    font-weight: 300;
    letter-spacing: 0.02em;
    animation: fadeInUp 1s ease 0.4s both;
}

/* Call-to-action buttons container */
.hero-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.6s both;
}

/* ============================================
   Button Styles (Shared)
   ============================================ */
.btn {
    padding: 1rem 2.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    border: 2px solid var(--charcoal);
    transition: all 0.4s ease;
    cursor: pointer;
    font-family: inherit;
}

/* Primary button - filled */
.btn-primary {
    background: var(--charcoal);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--black);
    border-color: var(--black);
    color: var(--white);
}

/* Secondary button - outlined */
.btn-secondary {
    background: transparent;
    color: var(--charcoal);
}

.btn-secondary:hover {
    background: var(--charcoal);
    color: var(--white);
}

/* ============================================
   5. Section Common Styles
   ============================================ */
section {
    padding: 100px 5%;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4rem;
}

.section-label {
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--mid-gray);
    margin-bottom: 1rem;
    display: block;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.section-desc {
    color: var(--mid-gray);
    font-size: 1.1rem;
    font-weight: 300;
}


/* ============================================
   6. About Section
   ============================================ */
.about {
    background: var(--off-white);
    position: relative;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

/* Image container */
.about-image {
    position: relative;
}

.about-image-main {
    width: 100%;
    aspect-ratio: 4/5;
    background: linear-gradient(145deg, var(--mid-gray) 0%, var(--charcoal) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    overflow: hidden;
}

.about-image-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Video container */
.about-video-main {
    width: 100%;
    aspect-ratio: 4/5;
    background: var(--charcoal);
    overflow: hidden;
}

.about-video-main video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Decorative accent border */
.about-image-accent {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 200px;
    height: 200px;
    border: 3px solid var(--charcoal);
    z-index: -1;
}

/* Content text */
.about-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.about-content p {
    margin-bottom: 1.5rem;
    color: var(--mid-gray);
    font-size: 1.05rem;
}

/* Statistics row */
.about-stats {
    display: flex;
    gap: 3rem;
    margin-top: 2.5rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--light-stroke);
}

.stat {
    text-align: left;
}

.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--charcoal);
    line-height: 1;
}

.stat-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--mid-gray);
    margin-top: 0.5rem;
}

/* ============================================
   7. Services Section
   ============================================ */
.services {
    background: var(--charcoal);
    color: var(--white);
}

.services .section-label {
    color: var(--light-gray);
}

.services .section-desc {
    color: rgba(255,255,255,0.7);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Service card styling */
.service-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 3rem 2rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

/* Top border animation on hover */
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--white);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    background: rgba(255,255,255,0.06);
    transform: translateY(-5px);
}

/* Service icon placeholder */
.service-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed rgba(255,255,255,0.3);
    background: rgba(255,255,255,0.05);
}

.service-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.service-icon svg {
    width: 100%;
    height: 100%;
    stroke: var(--white);
    stroke-width: 1.5;
    fill: none;
}

.service-card h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.service-card p {
    color: rgba(255,255,255,0.6);
    font-size: 0.95rem;
    line-height: 1.8;
}

/* ============================================
   8. Gallery Section
   ============================================ */
.gallery {
    background: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 300px);
    gap: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* Gallery item styling */
.gallery-item {
    background: linear-gradient(145deg, var(--mid-gray) 0%, var(--charcoal) 100%);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

/* Hover overlay */
.gallery-item::after {
    content: 'View';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--white);
    opacity: 0;
    transition: opacity 0.4s ease;
}

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

/* First item spans 2 columns */
.gallery-item:nth-child(1) {
    grid-column: span 2;
}

/* Fourth item spans 2 rows */
.gallery-item:nth-child(4) {
    grid-row: span 2;
}

/* ============================================
   9. Video Section
   ============================================ */
.video-section {
    background: var(--off-white);
    position: relative;
}

.video-container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

/* 16:9 aspect ratio wrapper */
.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    background: linear-gradient(145deg, var(--mid-gray) 0%, var(--black) 100%);
    overflow: hidden;
}

.video-wrapper video,
.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Placeholder content */
.video-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    gap: 1.5rem;
}

/* Play button styling */
.play-btn {
    width: 80px;
    height: 80px;
    border: 2px solid var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.4s ease;
}

.play-btn:hover {
    background: var(--white);
    transform: scale(1.1);
}

.play-btn:hover svg {
    fill: var(--charcoal);
}

.play-btn svg {
    width: 24px;
    height: 24px;
    fill: var(--white);
    margin-left: 4px;
}

.video-caption {
    text-align: center;
    margin-top: 2rem;
}

.video-caption p {
    color: var(--mid-gray);
    font-style: italic;
}

/* ============================================
   10. Instagram Section
   ============================================ */
.instagram-section {
    background: var(--charcoal);
    color: var(--white);
}

.instagram-section .section-label {
    color: var(--light-gray);
}

.instagram-section .section-desc {
    color: rgba(255,255,255,0.7);
}

.instagram-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto 3rem;
}

/* Instagram embed container */
.instagram-embed {
    min-height: 400px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.instagram-embed .instagram-media {
    margin: 0 !important;
    min-width: 100% !important;
}

.instagram-embed iframe,
.instagram-embed blockquote {
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
}

/* Placeholder styling */
.instagram-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    color: rgba(255,255,255,0.4);
}

.instagram-placeholder svg {
    width: 48px;
    height: 48px;
    stroke: rgba(255,255,255,0.3);
    stroke-width: 1.5;
    fill: none;
}

.instagram-placeholder span {
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.instagram-cta {
    text-align: center;
}

/* Button variant for dark background */
.instagram-section .btn-secondary {
    border-color: var(--white);
    color: var(--white);
}

.instagram-section .btn-secondary:hover {
    background: var(--white);
    color: var(--charcoal);
}


/* ============================================
   11. Landmark Section
   ============================================ */
.landmark-section {
    background: var(--off-white);
    padding: 100px 5%;
    overflow: hidden;
}

.landmark-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.landmark-text .section-title {
    text-align: left;
}

.landmark-text p {
    color: var(--mid-gray);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.landmark-tagline {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem !important;
    font-style: italic;
    color: var(--charcoal) !important;
}

/* Landmark image container */
.landmark-image {
    position: relative;
    aspect-ratio: 16/10;
    background: linear-gradient(145deg, var(--light-gray) 0%, var(--mid-gray) 100%);
    overflow: hidden;
}

.landmark-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.landmark-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* Hide placeholder when image is present */
.landmark-image img + .landmark-placeholder {
    display: none;
}

/* ============================================
   12. Testimonials Section
   ============================================ */
.testimonials {
    background: var(--off-white);
    position: relative;
}

.testimonial-container {
    max-width: 900px;
    margin: 0 auto;
}

.testimonial {
    text-align: center;
    padding: 3rem;
}

/* Quote styling */
.testimonial-quote {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 400;
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 2rem;
    position: relative;
}

/* Large decorative quotation mark */
.testimonial-quote::before {
    content: '"';
    font-size: 6rem;
    color: var(--charcoal);
    opacity: 0.15;
    position: absolute;
    top: -2rem;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Playfair Display', serif;
    line-height: 1;
}

.testimonial-author {
    color: var(--mid-gray);
}

.testimonial-author strong {
    display: block;
    color: var(--charcoal);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

/* ============================================
   13. Service Area Section
   ============================================ */
.service-area {
    background: var(--white);
    padding: 100px 5%;
}

.service-area-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: start;
}

/* Map container */
.service-area-map {
    border: 1px solid var(--light-gray);
}

.service-area-map iframe {
    display: block;
}

/* Cities list */
.service-area-cities h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.cities-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}

.city-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.05rem;
    color: var(--charcoal);
}

.city-bullet {
    width: 8px;
    height: 8px;
    background: var(--charcoal);
    border-radius: 50%;
    flex-shrink: 0;
}

.service-area-note {
    color: var(--mid-gray);
    font-style: italic;
    margin-bottom: 2rem;
}

/* Sticky CTA Button */
.sticky-cta {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--charcoal);
    color: var(--white);
    padding: 1rem 1.5rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}

.sticky-cta:hover {
    background: var(--black);
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(0,0,0,0.4);
}

.sticky-cta svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: var(--white);
    stroke-width: 2;
}

/* ============================================
   14. Contact Section
   ============================================ */
.contact {
    background: var(--black);
    color: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Contact info column */
.contact-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.contact-info p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 2rem;
    font-size: 1.05rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-item svg {
    width: 24px;
    height: 24px;
    stroke: var(--white);
    stroke-width: 1.5;
    fill: none;
    flex-shrink: 0;
}

.contact-item span {
    color: rgba(255,255,255,0.8);
}

/* Contact form styling */
.contact-form {
    background: rgba(255,255,255,0.03);
    padding: 3rem;
    border: 1px solid rgba(255,255,255,0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
    color: rgba(255,255,255,0.6);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--white);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--white);
    background: rgba(255,255,255,0.08);
}

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

/* Two-column form row */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

/* ============================================
   15. Footer
   ============================================ */
footer {
    background: #1a1a1a;
    color: var(--white);
    padding: 4rem 5% 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

/* Footer brand section */
.footer-brand .logo-text {
    color: var(--white);
    font-size: 1.6rem;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: rgba(255,255,255,0.5);
    font-size: 0.95rem;
    max-width: 300px;
}

/* Footer links columns */
.footer-links h5 {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

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

/* Footer bottom bar */
.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: rgba(255,255,255,0.4);
    font-size: 0.85rem;
}

/* Social media links */
.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-links a:hover {
    border-color: var(--white);
    background: var(--white);
}

.social-links a:hover svg {
    fill: var(--black);
}

.social-links svg {
    width: 18px;
    height: 18px;
    fill: var(--white);
}

/* ============================================
   16. Animations
   ============================================ */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

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

/* Scroll reveal animation classes */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   17. Responsive Styles
   ============================================ */

/* Tablet breakpoint */
@media (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
        gap: 1rem;
    }

    .gallery-item {
        aspect-ratio: 4/3;
    }

    .gallery-item:nth-child(1) {
        grid-column: span 2;
        aspect-ratio: 16/9;
    }

    .gallery-item:nth-child(4) {
        grid-row: span 1;
    }
}

/* Mobile breakpoint */
@media (max-width: 768px) {
    /* Mobile navigation */
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 2rem 5%;
        gap: 1.5rem;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        z-index: 1000;
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu {
        display: flex;
    }

    /* Hero adjustments */
    .hero h1 {
        font-size: 2.5rem;
    }

    /* Grid layouts to single column */
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-image-accent {
        display: none;
    }

    /* Gallery single column */
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 1rem;
    }

    .gallery-item {
        aspect-ratio: 4/3;
    }

    .gallery-item:nth-child(1) {
        grid-column: span 1;
    }

    /* Form single column */
    .form-row {
        grid-template-columns: 1fr;
    }

    /* Footer single column */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    /* Stats wrap */
    .about-stats {
        flex-wrap: wrap;
        gap: 2rem;
    }

    /* Instagram single column */
    .instagram-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

    /* Landmark section */
    .landmark-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .landmark-text .section-title {
        text-align: center;
    }

    .landmark-text {
        text-align: center;
    }

    /* Service area */
    .service-area-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .service-area-map iframe {
        height: 300px;
    }

    /* Sticky CTA full width on mobile */
    .sticky-cta {
        bottom: 20px;
        right: 20px;
        left: 20px;
        justify-content: center;
    }

    .sticky-cta span {
        display: inline;
    }
}


/* ============================================
   18. Form Submission Animations
   ============================================ */

/* Button loading spinner */
.btn-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    vertical-align: middle;
    margin-right: 8px;
}

.btn-loading {
    position: relative;
    pointer-events: none;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Form submitting state */
.form-submitting {
    position: relative;
}

.form-submitting::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.3);
    z-index: 10;
    animation: fadeIn 0.2s ease;
}

.form-submitting form {
    filter: blur(2px);
    transition: filter 0.3s ease;
}

/* Success overlay */
.form-success-overlay {
    position: absolute;
    inset: 0;
    background: var(--black);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20;
    opacity: 0;
    transform: scale(0.95);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.form-success-overlay.active {
    opacity: 1;
    transform: scale(1);
}

.success-content {
    text-align: center;
    padding: 2rem;
}

.success-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: var(--white);
    animation: fadeInUp 0.5s ease 0.3s both;
}

.success-content p {
    color: rgba(255,255,255,0.7);
    font-size: 1rem;
    line-height: 1.6;
    animation: fadeInUp 0.5s ease 0.5s both;
}

/* Animated checkmark */
.success-checkmark {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
}

.success-checkmark svg {
    width: 100%;
    height: 100%;
}

.checkmark-circle {
    stroke: #4ade80;
    stroke-width: 2;
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    animation: checkmarkCircle 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark-check {
    stroke: #4ade80;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: checkmarkCheck 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.4s forwards;
}

@keyframes checkmarkCircle {
    to { stroke-dashoffset: 0; }
}

@keyframes checkmarkCheck {
    to { stroke-dashoffset: 0; }
}

/* Error/Success messages */
.form-message {
    padding: 1rem;
    margin-top: 1rem;
    text-align: center;
    font-size: 0.95rem;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.form-message.active {
    opacity: 1;
    transform: translateY(0);
}

.form-message-success {
    background: rgba(74, 222, 128, 0.1);
    color: #4ade80;
    border: 1px solid rgba(74, 222, 128, 0.3);
}

.form-message-error {
    background: rgba(248, 113, 113, 0.1);
    color: #f87171;
    border: 1px solid rgba(248, 113, 113, 0.3);
}
