/* ============================================
   Sunrise, Sunburn, Sunset — Islamorada
   Bold Editorial Design System
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
    --color-burgundy: #722F37;
    --color-burgundy-dark: #5A252C;
    --color-burgundy-light: #8B3A42;
    --color-blush: #F4C2C2;
    --color-blush-light: #FDE8E8;
    --color-blush-pale: #FFF5F5;
    --color-cream: #FDF8F4;
    --color-sand: #F5EDE4;
    --color-charcoal: #1A1A1A;
    --color-text: #2D2D2D;
    --color-text-light: #6B6B6B;
    --color-white: #FFFFFF;
    --color-overlay: rgba(114, 47, 55, 0.85);

    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;

    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 6rem;
    --space-2xl: 8rem;

    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
    --shadow-xl: 0 16px 60px rgba(0,0,0,0.15);

    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    color: var(--color-text);
    background-color: var(--color-cream);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

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

/* --- Typography --- */
h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 400;
    line-height: 1.15;
    color: var(--color-charcoal);
}

.section-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-burgundy);
    margin-bottom: var(--space-sm);
}

.section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 300;
    margin-bottom: var(--space-md);
    line-height: 1.1;
}

.text-accent {
    color: var(--color-burgundy);
    font-style: italic;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-light);
    max-width: 540px;
    margin: 0 auto;
}

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

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2.25rem;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
    border-radius: var(--radius-sm);
}

.btn-primary {
    background: var(--color-burgundy);
    color: var(--color-white);
}

.btn-primary:hover {
    background: var(--color-burgundy-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--color-white);
    border: 1.5px solid rgba(255,255,255,0.5);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--color-white);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

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

.btn:hover .btn-arrow {
    transform: translateX(4px);
}

/* --- Navigation --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: var(--space-md) 0;
    transition: all var(--transition-base);
}

.navbar.scrolled {
    background: rgba(253, 248, 244, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 0.75rem 0;
    box-shadow: var(--shadow-sm);
}

.navbar.scrolled .logo-text {
    color: var(--color-charcoal);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    z-index: 1001;
}

.logo-icon {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    color: var(--color-blush);
    line-height: 1;
}

.navbar.scrolled .logo-icon {
    color: var(--color-burgundy);
}

.logo-text {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-white);
    letter-spacing: 0.02em;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.nav-menu a {
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.85);
    position: relative;
    padding: 0.25rem 0;
}

.navbar.scrolled .nav-menu a {
    color: var(--color-text);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--color-blush);
    transition: width var(--transition-base);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.navbar.scrolled .nav-menu a::after {
    background: var(--color-burgundy);
}

.nav-cta {
    background: var(--color-burgundy) !important;
    color: var(--color-white) !important;
    padding: 0.6rem 1.5rem !important;
    border-radius: var(--radius-sm);
    letter-spacing: 0.08em !important;
}

.nav-cta::after {
    display: none;
}

.nav-cta:hover {
    background: var(--color-burgundy-dark) !important;
}

/* Mobile Nav Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
    padding: 4px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--color-white);
    transition: all var(--transition-base);
    transform-origin: center;
}

.navbar.scrolled .nav-toggle span {
    background: var(--color-charcoal);
}

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

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

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

/* --- Hero Section --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: 
        url('https://images.pexels.com/photos/31969409/pexels-photo-31969409.jpeg?auto=compress&cs=tinysrgb&fit=crop&w=1920&h=1080') center center / cover no-repeat;
    transform: scale(1.05);
    animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
    from { transform: scale(1.05); }
    to { transform: scale(1.12); }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(114, 47, 55, 0.72) 0%,
        rgba(90, 37, 44, 0.55) 40%,
        rgba(45, 20, 25, 0.65) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: var(--space-xl) var(--space-md);
    max-width: 900px;
}

.hero-eyebrow {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--color-blush);
    margin-bottom: var(--space-md);
    opacity: 0;
    animation: fadeUp 0.8s ease forwards 0.3s;
}

.hero-title {
    font-size: clamp(2.75rem, 8vw, 5.5rem);
    font-weight: 300;
    color: var(--color-white);
    line-height: 1.05;
    margin-bottom: var(--space-md);
    opacity: 0;
    animation: fadeUp 0.8s ease forwards 0.5s;
}

.gradient-text {
    font-style: italic;
    background: linear-gradient(135deg, var(--color-blush) 0%, #F8BBD0 50%, var(--color-blush-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255,255,255,0.8);
    max-width: 600px;
    margin: 0 auto var(--space-lg);
    line-height: 1.8;
    font-weight: 300;
    opacity: 0;
    animation: fadeUp 0.8s ease forwards 0.7s;
}

.hero-cta-group {
    display: flex;
    gap: var(--space-sm);
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--space-xl);
    opacity: 0;
    animation: fadeUp 0.8s ease forwards 0.9s;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    opacity: 0;
    animation: fadeUp 0.8s ease forwards 1.1s;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-white);
}

.stat-label {
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.6);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,0.2);
}

.hero-scroll {
    position: absolute;
    bottom: var(--space-lg);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    z-index: 2;
    opacity: 0;
    animation: fadeUp 0.8s ease forwards 1.4s;
}

.hero-scroll span {
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
}

.scroll-line {
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 1; transform: scaleY(1); }
    50% { opacity: 0.5; transform: scaleY(0.7); }
}

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

/* --- About Section --- */
.about {
    padding: var(--space-2xl) 0;
    background: var(--color-cream);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
}

.about-image-wrapper {
    position: relative;
    height: 600px;
}

.about-image {
    position: absolute;
    object-fit: cover;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
}

.about-image.main {
    width: 75%;
    height: 80%;
    top: 0;
    left: 0;
}

.about-image.accent {
    width: 55%;
    height: 45%;
    bottom: 0;
    right: 0;
    border: 4px solid var(--color-cream);
}

.about-content {
    padding: var(--space-md) 0;
}

.about-text {
    font-size: 1.05rem;
    color: var(--color-text-light);
    margin-bottom: var(--space-md);
    line-height: 1.85;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
}

.feature-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    color: var(--color-burgundy);
}

.feature-item h4 {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.feature-item p {
    font-size: 0.85rem;
    color: var(--color-text-light);
    line-height: 1.6;
}

/* --- Amenities Section --- */
.amenities {
    padding: var(--space-2xl) 0;
    background: var(--color-white);
}

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.amenity-card {
    padding: var(--space-lg);
    background: var(--color-cream);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    border: 1px solid transparent;
}

.amenity-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-blush);
    background: var(--color-white);
}

.amenity-icon {
    width: 48px;
    height: 48px;
    margin-bottom: var(--space-sm);
    color: var(--color-burgundy);
}

.amenity-card h3 {
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    letter-spacing: 0.01em;
}

.amenity-card p {
    font-size: 0.9rem;
    color: var(--color-text-light);
    line-height: 1.7;
}

/* --- Gallery Section --- */
.gallery {
    padding: var(--space-2xl) 0;
    background: var(--color-cream);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: auto;
    gap: var(--space-sm);
    margin-top: var(--space-lg);
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
}

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

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

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-md);
    background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
    color: var(--color-white);
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-style: italic;
    opacity: 0;
    transform: translateY(10px);
    transition: all var(--transition-base);
}

.gallery-item:hover .gallery-caption {
    opacity: 1;
    transform: translateY(0);
}

.gallery-item.large {
    grid-column: 1 / 8;
    grid-row: 1 / 2;
    min-height: 400px;
}

.gallery-item.tall {
    grid-column: 8 / 13;
    grid-row: 1 / 3;
    min-height: 600px;
}

.gallery-item:not(.large):not(.tall) {
    min-height: 200px;
}

.gallery-item:nth-child(2) { grid-column: 1 / 5; grid-row: 2; }
.gallery-item:nth-child(3) { grid-column: 5 / 8; grid-row: 2; }
.gallery-item:nth-child(5) { grid-column: 1 / 5; grid-row: 3; }
.gallery-item:nth-child(6) { grid-column: 5 / 8; grid-row: 3; }

/* --- Testimonials Section --- */
.testimonials {
    padding: var(--space-2xl) 0;
    background: var(--color-burgundy);
    position: relative;
    overflow: hidden;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(244,194,194,0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.testimonials .section-eyebrow {
    color: var(--color-blush);
}

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

.testimonials .text-accent {
    color: var(--color-blush);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    margin-top: var(--space-lg);
    position: relative;
    z-index: 1;
}

.testimonial-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    transition: all var(--transition-base);
}

.testimonial-card:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-4px);
}

.testimonial-quote {
    margin-bottom: var(--space-sm);
}

.quote-mark {
    width: 40px;
    height: 40px;
    color: var(--color-blush);
    opacity: 0.6;
}

.testimonial-text {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.85);
    line-height: 1.8;
    margin-bottom: var(--space-md);
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.author-avatar {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
}

.author-name {
    display: block;
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-white);
}

.author-location {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.5);
    letter-spacing: 0.05em;
}

/* --- Contact Section --- */
.contact {
    padding: var(--space-2xl) 0;
    background: var(--color-white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: start;
}

.contact-description {
    font-size: 1.05rem;
    color: var(--color-text-light);
    line-height: 1.8;
    margin-bottom: var(--space-lg);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
}

.contact-icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    background: var(--color-blush-pale);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-burgundy);
}

.contact-item h4 {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-text-light);
    margin-bottom: 0.25rem;
}

.contact-item p {
    font-size: 0.95rem;
    color: var(--color-text);
    line-height: 1.6;
}

.contact-item a {
    color: var(--color-burgundy);
    font-weight: 500;
}

.contact-item a:hover {
    text-decoration: underline;
}

/* --- Contact Form --- */
.contact-form-wrapper {
    background: var(--color-cream);
    border-radius: var(--radius-xl);
    padding: var(--space-lg);
    border: 1px solid var(--color-blush-light);
}

.form-title {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 400;
    margin-bottom: var(--space-md);
    color: var(--color-charcoal);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-sm);
}

.form-group {
    margin-bottom: var(--space-sm);
}

.form-group label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-text-light);
    margin-bottom: 0.4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    color: var(--color-text);
    background: var(--color-white);
    border: 1.5px solid var(--color-sand);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--color-burgundy);
    box-shadow: 0 0 0 3px rgba(114, 47, 55, 0.1);
}

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

.form-success {
    display: none;
    align-items: center;
    gap: 0.75rem;
    padding: var(--space-sm);
    background: rgba(114, 47, 55, 0.06);
    border: 1px solid rgba(114, 47, 55, 0.15);
    border-radius: var(--radius-md);
    margin-top: var(--space-sm);
    color: var(--color-burgundy);
    font-size: 0.9rem;
}

.form-success svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.form-success.show {
    display: flex;
}

/* --- Footer --- */
.footer {
    background: var(--color-charcoal);
    padding: var(--space-xl) 0 var(--space-md);
    color: rgba(255,255,255,0.7);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: var(--space-lg);
    margin-bottom: var(--space-lg);
}

.footer-brand .logo-text {
    color: var(--color-white);
}

.footer-tagline {
    font-size: 0.85rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.5);
    margin-top: var(--space-sm);
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-blush);
    margin-bottom: var(--space-sm);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
    transition: color var(--transition-fast);
}

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

.footer-contact p {
    font-size: 0.85rem;
    line-height: 1.8;
    margin-bottom: 0.25rem;
}

.footer-contact a {
    color: rgba(255,255,255,0.5);
}

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

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: var(--space-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

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

/* --- Responsive --- */
@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .about-image-wrapper {
        height: 450px;
        max-width: 500px;
    }

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

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

    .testimonials-grid .testimonial-card:last-child {
        grid-column: 1 / -1;
        max-width: 500px;
        margin: 0 auto;
    }

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

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

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--color-cream);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: var(--space-md);
        transition: right var(--transition-base);
        box-shadow: var(--shadow-xl);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu a {
        color: var(--color-text) !important;
        font-size: 0.9rem;
    }

    .nav-menu a::after {
        background: var(--color-burgundy) !important;
    }

    .hero-title {
        font-size: clamp(2.25rem, 10vw, 3.5rem);
    }

    .hero-stats {
        flex-direction: column;
        gap: var(--space-sm);
    }

    .stat-divider {
        width: 40px;
        height: 1px;
    }

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

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

    .gallery-item.large,
    .gallery-item.tall,
    .gallery-item:nth-child(2),
    .gallery-item:nth-child(3),
    .gallery-item:nth-child(5),
    .gallery-item:nth-child(6) {
        grid-column: 1;
        grid-row: auto;
        min-height: 250px;
    }

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

    .testimonials-grid .testimonial-card:last-child {
        max-width: none;
    }

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

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

    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

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

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-sm);
    }

    .hero-cta-group {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .about-image-wrapper {
        height: 350px;
    }

    .contact-form-wrapper {
        padding: var(--space-md);
    }
}

/* --- Scroll Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }
