/* ============================================
   Photography Portfolio Template
   A refined, elegant template for photographers
   Inspired by Zenfolio and Jose Villa aesthetics
   ============================================ */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Lato:wght@300;400;700&display=swap');

/* ============================================
   CSS Variables - Light Mode (Default)
   ============================================ */
:root {
    /* Typography */
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Lato', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Core Colors */
    --color-bg: #ffffff;
    --color-bg-alt: #f8f6f3;
    --color-bg-warm: #faf8f5;
    --color-text: #2d2d2d;
    --color-text-muted: #6b6b6b;
    --color-text-light: #9a9a9a;

    /* Accent Colors */
    --color-accent: #c9a96e;
    --color-accent-dark: #a88d4e;
    --color-accent-light: #e8d5a8;

    /* UI Colors */
    --color-border: #e8e5e0;
    --color-border-light: #f0ede8;
    --color-overlay: rgba(0, 0, 0, 0.85);
    --color-overlay-light: rgba(0, 0, 0, 0.5);

    /* Shadows */
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.06);
    --shadow-medium: 0 8px 40px rgba(0, 0, 0, 0.1);
    --shadow-strong: 0 20px 60px rgba(0, 0, 0, 0.15);

    /* Spacing */
    --section-padding: 6rem;
    --section-padding-mobile: 3rem;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.4s ease;
    --transition-slow: 0.6s ease;

    /* Accessibility Widget Theme */
    --rsl-a11y-primary: #c9a96e;
    --rsl-a11y-primary-dark: #a88d4e;
    --rsl-a11y-primary-light: #e8d5a8;
    --rsl-a11y-button-gradient: linear-gradient(135deg, #c9a96e 0%, #a88d4e 100%);
    --rsl-a11y-button-shadow: 0 4px 16px rgba(201, 169, 110, 0.4);
    --rsl-a11y-button-shadow-hover: 0 6px 24px rgba(201, 169, 110, 0.5);
    --rsl-a11y-header-gradient: linear-gradient(135deg, #c9a96e 0%, #a88d4e 100%);
    --rsl-a11y-toggle-gradient: linear-gradient(135deg, #c9a96e 0%, #a88d4e 100%);
}

/* ============================================
   Dark Mode
   ============================================ */
[data-theme="dark"] {
    --color-bg: #141414;
    --color-bg-alt: #1a1a1a;
    --color-bg-warm: #1f1f1f;
    --color-text: #f5f5f5;
    --color-text-muted: #a0a0a0;
    --color-text-light: #707070;
    --color-border: #333333;
    --color-border-light: #2a2a2a;
    --color-overlay: rgba(0, 0, 0, 0.92);
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.3);
    --shadow-medium: 0 8px 40px rgba(0, 0, 0, 0.4);
}

/* ============================================
   Base Styles
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text);
    background-color: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   Typography
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 500;
    line-height: 1.3;
    color: var(--color-text);
}

h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    letter-spacing: -0.01em;
}

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

p {
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
}

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

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

.italic {
    font-style: italic;
}

/* ============================================
   Links & Buttons
   ============================================ */
a {
    color: var(--color-text);
    text-decoration: none;
    transition: color var(--transition-fast);
}

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

.btn-elegant {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-text);
    background: transparent;
    border: 1px solid var(--color-text);
    cursor: pointer;
    transition: all var(--transition-medium);
}

.btn-elegant:hover {
    color: var(--color-bg);
    background: var(--color-text);
    border-color: var(--color-text);
}

.btn-elegant.btn-filled {
    color: var(--color-bg);
    background: var(--color-text);
}

.btn-elegant.btn-filled:hover {
    color: var(--color-text);
    background: transparent;
}

.btn-elegant.btn-accent {
    color: #fff;
    background: var(--color-accent);
    border-color: var(--color-accent);
}

.btn-elegant.btn-accent:hover {
    color: var(--color-accent);
    background: transparent;
}

/* Modern Button Classes */
.btn,
a.btn {
    display: inline-block;
    padding: 1rem 2rem;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition-fast);
    border: 1px solid transparent;
}

.btn-primary,
a.btn-primary {
    color: #fff !important;
    background: var(--color-accent) !important;
    border-color: var(--color-accent) !important;
}

.btn-primary:hover,
a.btn-primary:hover {
    color: var(--color-accent) !important;
    background: transparent !important;
}

.btn-secondary {
    color: var(--color-text);
    background: transparent;
    border-color: var(--color-text);
}

.btn-secondary:hover {
    color: var(--color-bg);
    background: var(--color-text);
}

.btn-outline {
    color: #fff;
    background: transparent;
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
}

.btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 0.9rem;
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-accent);
    text-decoration: none;
    transition: gap var(--transition-fast);
}

.link-arrow:hover {
    color: var(--color-accent-dark);
    gap: 0.75rem;
}

/* ============================================
   Navigation
   ============================================ */
.photo-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.5rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    transition: all var(--transition-medium);
}

.photo-nav.scrolled {
    padding: 1rem 3rem;
    background: var(--color-bg);
    box-shadow: var(--shadow-soft);
}

.photo-nav .logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: var(--color-text);
}

.photo-nav .logo span {
    font-style: italic;
    font-weight: 400;
}

.photo-nav-links {
    display: flex;
    gap: 3rem;
    list-style: none;
}

.photo-nav-links a {
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-text);
    position: relative;
}

.photo-nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-accent);
    transition: width var(--transition-medium);
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.theme-toggle-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid var(--color-border);
    border-radius: 50%;
    cursor: pointer;
    color: var(--color-text);
    transition: all var(--transition-fast);
}

.theme-toggle-btn:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--color-text);
    transition: all var(--transition-fast);
}

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

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

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.2) 0%,
        rgba(0, 0, 0, 0.4) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: #fff;
    padding: 2rem;
}

.hero-content h1 {
    color: #fff;
    margin-bottom: 1rem;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero-content .subtitle {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-style: italic;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    letter-spacing: 0.1em;
}

.hero-scroll {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.hero-scroll .arrow {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.5);
    position: relative;
    overflow: hidden;
}

.hero-scroll .arrow::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    animation: scrollArrow 1.5s ease-in-out infinite;
}

@keyframes scrollArrow {
    0% { transform: translateY(-100%); }
    50% { transform: translateY(0); }
    100% { transform: translateY(100%); }
}

/* Hero Background Approach */
.hero-bg {
    position: absolute;
    inset: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1);
}

.hero-title {
    color: #fff;
    font-size: clamp(2.5rem, 6vw, 5rem);
    margin-bottom: 1rem;
    text-shadow: 0 2px 30px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-accent-light);
    margin-bottom: 1rem;
}

.hero-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 500px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.8) 0%, transparent 100%);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* ============================================
   Section Layouts
   ============================================ */
.section {
    padding: var(--section-padding) 0;
}

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

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

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.container-narrow {
    max-width: 800px;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    margin-bottom: 1rem;
}

.section-header .divider {
    width: 60px;
    height: 1px;
    background: var(--color-accent);
    margin: 1.5rem auto;
}

.section-header p {
    max-width: 600px;
    margin: 0 auto;
}

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

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--color-text-muted);
    font-size: 1.1rem;
}

.section-cta {
    text-align: center;
    margin-top: 3rem;
}

/* Intro Section */
.intro-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.intro-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
}

/* Featured Section */
.featured-section {
    background: var(--color-bg-alt);
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 280px);
    gap: 1.5rem;
}

.featured-item {
    position: relative;
    overflow: hidden;
}

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

.featured-item.featured-wide {
    grid-column: span 2;
}

.featured-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.featured-image {
    width: 100%;
    height: 100%;
}

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

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

.featured-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 50%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.featured-item:hover .featured-overlay {
    opacity: 1;
}

.featured-category {
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-accent-light);
    margin-bottom: 0.5rem;
}

.featured-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 400;
    color: #fff;
    margin-bottom: 0.25rem;
}

.featured-location {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    padding: var(--section-padding) 2rem;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.cta-title {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 400;
    color: #fff;
    margin-bottom: 1rem;
}

.cta-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.7;
}

/* ============================================
   Featured Gallery (Home)
   ============================================ */
.featured-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

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

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

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

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

.gallery-item-overlay {
    position: absolute;
    inset: 0;
    background: var(--color-overlay-light);
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity var(--transition-medium);
}

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

.gallery-item-overlay i {
    color: #fff;
    font-size: 2rem;
}

/* ============================================
   Portfolio Gallery
   ============================================ */
.portfolio-hero {
    padding: 10rem 0 4rem;
    text-align: center;
    background: var(--color-bg-alt);
}

.portfolio-gallery {
    padding: 4rem 2rem;
}

.masonry-grid {
    column-count: 3;
    column-gap: 1.5rem;
}

.masonry-item {
    break-inside: avoid;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.masonry-item img {
    width: 100%;
    display: block;
    transition: transform var(--transition-slow);
}

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

.masonry-item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.7) 0%,
        transparent 50%
    );
    opacity: 0;
    display: flex;
    align-items: flex-end;
    padding: 2rem;
    transition: opacity var(--transition-medium);
}

.masonry-item:hover .masonry-item-overlay {
    opacity: 1;
}

.masonry-item-info h4 {
    color: #fff;
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.masonry-item-info span {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    font-style: italic;
}

/* ============================================
   About Section
   ============================================ */
.about-hero {
    padding: 10rem 0 4rem;
    text-align: center;
    background: var(--color-bg-alt);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    position: relative;
}

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

.about-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 1px solid var(--color-accent);
    z-index: -1;
}

.about-text h2 {
    margin-bottom: 1.5rem;
}

.about-text .signature {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-style: italic;
    color: var(--color-accent);
    margin-top: 2rem;
}

/* ============================================
   Contact Section
   ============================================ */
.contact-section {
    background: var(--color-bg-warm);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h3 {
    margin-bottom: 1.5rem;
}

.contact-info p {
    margin-bottom: 2rem;
}

.contact-details {
    list-style: none;
    margin-bottom: 2rem;
}

.contact-details li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: var(--color-text-muted);
}

.contact-details i {
    color: var(--color-accent);
    width: 20px;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--color-border);
    border-radius: 50%;
    color: var(--color-text);
    transition: all var(--transition-fast);
}

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

/* Contact Form */
.contact-form {
    background: var(--color-bg);
    padding: 3rem;
    box-shadow: var(--shadow-soft);
}

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

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--color-text);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--color-text);
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    transition: border-color var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-accent);
}

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

/* ============================================
   Lightbox Modal
   ============================================ */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: var(--color-overlay);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-medium);
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    max-width: 90vw;
    max-height: 90vh;
    position: relative;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all var(--transition-fast);
    z-index: 10;
}

.lightbox-close:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    font-size: 1.25rem;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.lightbox-nav:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.lightbox-prev {
    left: 1rem;
}

.lightbox-next {
    right: 1rem;
}

.lightbox-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    font-family: var(--font-heading);
    font-style: italic;
}

/* ============================================
   Footer
   ============================================ */
.photo-footer {
    padding: 4rem 0 2rem;
    background: var(--color-bg-alt);
    text-align: center;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.footer-logo span {
    font-style: italic;
    font-weight: 400;
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 2rem;
    list-style: none;
    margin-bottom: 2rem;
}

.footer-nav a {
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

.footer-nav a:hover {
    color: var(--color-accent);
}

/* Old footer-social styles removed - see site-footer overrides below */

.footer-copyright {
    font-size: 0.85rem;
    color: var(--color-text-light);
}

/* ============================================
   Intro/Statement Section
   ============================================ */
.intro-section {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: var(--section-padding) 2rem;
}

.intro-section h2 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 400;
    line-height: 1.5;
    margin-bottom: 2rem;
}

.intro-section h2 .italic {
    font-style: italic;
}

.intro-section .accent-line {
    width: 80px;
    height: 1px;
    background: var(--color-accent);
    margin: 0 auto 2rem;
}

/* ============================================
   CTA Section
   ============================================ */
.cta-section {
    background: var(--color-text);
    color: var(--color-bg);
    text-align: center;
    padding: var(--section-padding) 2rem;
}

.cta-section h2 {
    color: var(--color-bg);
    margin-bottom: 1rem;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
}

.cta-section .btn-elegant {
    color: var(--color-bg);
    border-color: var(--color-bg);
}

.cta-section .btn-elegant:hover {
    color: var(--color-text);
    background: var(--color-bg);
}

[data-theme="dark"] .cta-section {
    background: var(--color-bg-warm);
}

[data-theme="dark"] .cta-section h2,
[data-theme="dark"] .cta-section .btn-elegant {
    color: var(--color-text);
}

[data-theme="dark"] .cta-section .btn-elegant {
    border-color: var(--color-text);
}

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

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

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

    .masonry-grid {
        column-count: 2;
    }

    .about-content {
        gap: 3rem;
    }

    .contact-grid {
        gap: 3rem;
    }
}

@media (max-width: 1024px) {
    .featured-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }

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

    .featured-item.featured-wide {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 4rem;
    }

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

    .featured-item.featured-large,
    .featured-item.featured-wide {
        grid-column: span 1;
    }

    .photo-nav {
        padding: 1rem 1.5rem;
    }

    .photo-nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--color-bg);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: right var(--transition-medium);
        box-shadow: var(--shadow-strong);
    }

    .photo-nav-links.active {
        right: 0;
    }

    .mobile-menu-toggle {
        display: flex;
        z-index: 1001;
    }

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

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

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

    .hero-content h1 {
        font-size: 2.5rem;
    }

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

    .masonry-grid {
        column-count: 1;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-image {
        order: -1;
    }

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

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

    .contact-form {
        padding: 2rem;
    }

    .footer-nav {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .photo-nav {
        padding: 1rem;
    }

    .hero-content {
        padding: 1rem;
    }

    .btn-elegant {
        padding: 0.875rem 2rem;
        font-size: 0.8rem;
    }
}

/* ============================================
   Reduced Motion
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}

/* ============================================
   Skip Link
   ============================================ */
.skip-link {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    padding: 1rem 2rem;
    background: var(--color-accent);
    color: #fff;
    text-decoration: none;
    z-index: 100000;
    transition: top 0.3s ease;
}

.skip-link:focus {
    top: 10px;
}

/* ============================================
   Site Navigation
   ============================================ */
.site-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    transition: all var(--transition-medium);
}

.site-nav.scrolled {
    background: var(--color-bg);
    box-shadow: var(--shadow-soft);
}

.site-nav.nav-hidden {
    transform: translateY(-100%);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 500;
    color: #fff;
    transition: color var(--transition-fast);
}

.logo-tagline {
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--transition-fast);
}

.site-nav.scrolled .logo-text {
    color: var(--color-text);
}

.site-nav.scrolled .logo-tagline {
    color: var(--color-text-muted);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-link {
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.9);
    transition: color var(--transition-fast);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-accent);
    transition: width var(--transition-fast);
}

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

.site-nav.scrolled .nav-link {
    color: var(--color-text);
}

.nav-link.nav-cta {
    padding: 0.75rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: all var(--transition-fast);
}

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

.nav-link.nav-cta:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
}

.site-nav.scrolled .nav-link.nav-cta {
    border-color: var(--color-border);
}

.site-nav.scrolled .nav-link.nav-cta:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    padding: 0.5rem;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: #fff;
    transition: all var(--transition-fast);
}

.site-nav.scrolled .nav-toggle span {
    background: var(--color-text);
}

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

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

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

/* Theme Toggle - Fixed Position Button */
.rsl-theme-toggle {
    position: fixed !important;
    top: 1.5rem !important;
    right: 2rem !important;
    z-index: 10001 !important;
    opacity: 1 !important;
    visibility: visible !important;
    background: var(--color-bg) !important;
    border: 1px solid var(--color-border) !important;
    color: var(--color-text) !important;
    width: 44px !important;
    height: 44px !important;
    border-radius: 50% !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: var(--shadow-soft) !important;
    transition: all var(--transition-fast) !important;
}

.rsl-theme-toggle:hover {
    border-color: var(--color-accent) !important;
    color: var(--color-accent) !important;
    box-shadow: var(--shadow-medium) !important;
}

/* Theme Toggle Icon Visibility - Override modern-theme.css */
/* Light mode: show sun (indicates current light state) */
.rsl-theme-toggle .icon-sun {
    display: block !important;
}

.rsl-theme-toggle .icon-moon {
    display: none !important;
}

/* Dark mode: show moon (indicates current dark state) */
[data-theme="dark"] .rsl-theme-toggle .icon-sun {
    display: none !important;
}

[data-theme="dark"] .rsl-theme-toggle .icon-moon {
    display: block !important;
}

/* ============================================
   Page Header (for inner pages)
   ============================================ */
.page-header {
    padding: 10rem 2rem 4rem;
    text-align: center;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
}

.page-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 400;
    color: #fff;
    margin-bottom: 0.5rem;
}

.page-subtitle {
    font-size: 1rem;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.7);
}

/* ============================================
   Gallery Filter
   ============================================ */
.gallery-filter-section {
    padding: 2rem 0;
    background: var(--color-bg);
}

.gallery-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    font-family: var(--font-body);
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: transparent;
    border: 1px solid var(--color-border);
    color: var(--color-text-muted);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.active {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

/* ============================================
   Masonry Gallery
   ============================================ */
.gallery-section {
    padding: 2rem 0 var(--section-padding);
}

.container-fluid {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 1rem;
}

.masonry-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    grid-auto-flow: dense;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
}

.gallery-item.gallery-tall {
    grid-row: span 2;
    aspect-ratio: auto;
}

.gallery-item.gallery-wide {
    grid-column: span 2;
    aspect-ratio: 2/1;
}

.gallery-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

/* Visible focus indicator for keyboard navigation */
.gallery-link:focus-visible {
    outline: none;
}

/* Show overlay, border, and shadow on focus (same as hover) */
.gallery-item:focus-within {
    border: 3px solid var(--color-primary);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 0 4px rgba(var(--color-primary-rgb, 180, 142, 103), 0.3);
    z-index: 10;
}

.gallery-item:focus-within .gallery-overlay {
    opacity: 1;
}

.gallery-item:focus-within .gallery-image img {
    transform: scale(1.05);
}

.gallery-image {
    width: 100%;
    height: 100%;
}

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

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

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity var(--transition-fast);
}

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

.gallery-info {
    color: #fff;
}

.gallery-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 400;
    margin-bottom: 0.25rem;
}

.gallery-meta {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

.gallery-icon {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #fff;
}

/* ============================================
   Lightbox (Updated for hidden attribute)
   ============================================ */
.lightbox[hidden] {
    display: none;
}

.lightbox:not([hidden]) {
    display: flex;
    opacity: 1;
    visibility: visible;
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    font-size: 1.25rem;
    cursor: pointer;
    transition: all var(--transition-fast);
    z-index: 10;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.lightbox-prev {
    left: 2rem;
}

.lightbox-next {
    right: 2rem;
}

.lightbox-counter {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.lightbox-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: #fff;
    margin-bottom: 0.25rem;
}

.lightbox-meta {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

/* ============================================
   Services Section
   ============================================ */
.services-section {
    background: var(--color-bg-alt);
}

.service-card {
    background: var(--color-bg);
    padding: 2.5rem;
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: all var(--transition-fast);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.service-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    border: 1px solid var(--color-accent);
    border-radius: 50%;
    color: var(--color-accent);
    font-size: 1.5rem;
}

.service-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.service-description {
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.service-price {
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    color: var(--color-accent);
}

/* ============================================
   Testimonials Section
   ============================================ */
.testimonials-section {
    position: relative;
    padding: var(--section-padding) 2rem;
    overflow: hidden;
}

.testimonials-bg {
    position: absolute;
    inset: 0;
}

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

.testimonials-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
}

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

.section-header-light {
    color: #fff;
}

.section-header-light .section-label {
    color: var(--color-accent-light);
}

.section-header-light .section-title {
    color: #fff;
}

.section-header-light .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

.testimonials-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    min-height: 200px;
}

.testimonial {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity var(--transition-medium);
    text-align: center;
    color: #fff;
    border: none;
    margin: 0;
    padding: 0;
}

.testimonial.active {
    position: relative;
    opacity: 1;
}

.testimonial-text {
    font-family: var(--font-heading);
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    font-weight: 400;
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.testimonial-author cite {
    font-style: normal;
    font-weight: 500;
    font-size: 1rem;
}

.testimonial-author span {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

.testimonial-nav {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 2rem;
}

.testimonial-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.testimonial-dot:hover,
.testimonial-dot.active {
    background: var(--color-accent);
}

/* ============================================
   Instagram Grid
   ============================================ */
.instagram-section {
    padding: var(--section-padding) 0;
}

/* Instagram Grid - RSL Thumbnail Customization */
.instagram-grid {
    margin-top: 2rem;
}

/* Square aspect ratio for Instagram-style grid */
.instagram-grid .rsl-thumbnail {
    aspect-ratio: 1;
}

.instagram-grid .rsl-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Hide header/description - just show image with hover overlay */
.instagram-grid .rsl-thumbnail-caption {
    display: none;
}

/* Button border styling (colors handled by API) */
.instagram-grid .rsl-thumbnail-button {
    border: 2px solid #fff;
}

/* ============================================
   About Page Specific
   ============================================ */
.about-section {
    padding: var(--section-padding) 2rem;
}

.about-image-frame {
    position: relative;
}

.about-image-frame img {
    width: 100%;
    display: block;
}

.about-image-accent {
    position: absolute;
    top: -20px;
    left: -20px;
    right: 20px;
    bottom: 20px;
    border: 1px solid var(--color-accent);
    z-index: -1;
}

.about-title {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 400;
    margin-bottom: 1.5rem;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--color-text-muted);
}

.about-signature {
    margin-top: 2rem;
}

.about-signature img {
    max-width: 150px;
}

.signature-fallback {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-style: italic;
    color: var(--color-accent);
}

/* Philosophy Section */
.philosophy-section {
    background: var(--color-bg-alt);
}

.philosophy-card {
    text-align: center;
    padding: 2rem;
}

.philosophy-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    border: 1px solid var(--color-accent);
    border-radius: 50%;
    color: var(--color-accent);
    font-size: 1.5rem;
}

.philosophy-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.philosophy-text {
    color: var(--color-text-muted);
    line-height: 1.7;
}

/* Awards Section */
.awards-section {
    position: relative;
    padding: var(--section-padding) 2rem;
}

.awards-bg {
    position: absolute;
    inset: 0;
}

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

.awards-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
}

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

.award-item {
    text-align: center;
    color: #fff;
}

.award-logo {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    font-size: 1.5rem;
    color: var(--color-accent);
}

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

.award-title {
    font-family: var(--font-heading);
    font-size: 1rem;
}

/* FAQ Section */
.faq-section {
    padding: var(--section-padding) 2rem;
}

/* RSL Classic Accordion - Custom Styling for FAQ */
.faq-accordion.classic-accordion {
    max-width: 800px;
    margin: 0 auto;
    display: block;
}

.faq-accordion.classic-accordion .accordion-item {
    border: none;
    border-bottom: 1px solid var(--color-border);
    background: transparent !important;
    margin-bottom: 0;
    transition: border-color 0.3s ease;
}

/* Remove/fade border when accordion is open */
.faq-accordion.classic-accordion .accordion-item:has(.accordion-content.open) {
    border-bottom-color: transparent;
}

.faq-accordion.classic-accordion .accordion-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 400;
    padding: 1.5rem 0;
    background: transparent !important;
    color: var(--color-text);
    border: none;
    cursor: pointer;
    width: 100%;
}

.faq-accordion.classic-accordion .accordion-title .text-content {
    flex: 1;
    text-align: left;
}

.faq-accordion.classic-accordion .accordion-title:hover {
    background: transparent !important;
    color: var(--color-accent);
}

.faq-accordion.classic-accordion .accordion-title:focus {
    outline: 1px solid var(--color-accent-light);
    outline-offset: 2px;
}

/* Plus/minus icon styling */
.faq-accordion.classic-accordion .accordion-title::after {
    content: '+';
    font-family: var(--font-body);
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--color-accent);
    margin-left: 1rem;
    flex-shrink: 0;
}

.faq-accordion.classic-accordion .accordion-title.active::after {
    content: '−';
}

/* Content - hidden by default */
.faq-accordion.classic-accordion .accordion-content {
    max-height: 0;
    overflow: hidden;
    padding: 0;
    background: transparent !important;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

/* Content - visible when open */
.faq-accordion.classic-accordion .accordion-content.open {
    max-height: 500px;
    padding: 0 0 1.5rem;
    background: transparent !important;
}

.faq-accordion.classic-accordion .accordion-content p {
    color: var(--color-text-muted);
    line-height: 1.7;
    margin: 0;
}

/* Dark mode support */
[data-theme="dark"] .faq-accordion.classic-accordion .accordion-item {
    background: transparent !important;
    border-color: var(--color-border);
}

[data-theme="dark"] .faq-accordion.classic-accordion .accordion-title {
    background: transparent !important;
    color: var(--color-text);
}

[data-theme="dark"] .faq-accordion.classic-accordion .accordion-content {
    background: transparent !important;
}

[data-theme="dark"] .faq-accordion.classic-accordion .accordion-content p {
    color: var(--color-text-muted);
}

/* Contact Section */
.contact-title {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 400;
    margin-bottom: 1rem;
}

.contact-text {
    color: var(--color-text-muted);
    margin-bottom: 2rem;
}

.contact-details {
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-item i {
    width: 20px;
    color: var(--color-accent);
    margin-top: 0.25rem;
}

.contact-item div {
    display: flex;
    flex-direction: column;
}

.contact-label {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: 0.25rem;
}

.contact-item a {
    color: var(--color-text);
    text-decoration: none;
    transition: color var(--transition-fast);
}

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

.contact-note {
    font-size: 0.85rem;
    color: var(--color-text-light);
}

.contact-social-label {
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: 0.75rem;
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--color-bg);
    padding: 2.5rem;
    box-shadow: var(--shadow-soft);
}

.form-label {
    display: block;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-text);
    margin-bottom: 0.5rem;
}

.form-label .required {
    color: var(--color-accent);
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 1rem;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--color-text);
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    transition: border-color var(--transition-fast);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--color-accent);
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b6b6b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 3rem;
}

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

.form-submit {
    width: 100%;
    margin-top: 1rem;
}

.form-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.field-error {
    border-color: #e74c3c !important;
}

/* ============================================
   Site Footer
   ============================================ */
.site-footer {
    background: var(--color-bg-alt);
    padding: 4rem 0 2rem;
}

.footer-brand .footer-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 500;
    display: block;
    margin-bottom: 0.5rem;
}

.footer-tagline {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-bottom: 1rem;
}

.footer-location {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.footer-location i {
    color: var(--color-accent);
    margin-right: 0.5rem;
}

.footer-heading {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-links a {
    color: var(--color-text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color var(--transition-fast);
}

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

/* Override old footer-social styles for new structure */
.site-footer .footer-social {
    display: block;
    justify-content: initial;
    margin-bottom: 0;
}

.site-footer .footer-social .social-links {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.site-footer .footer-social .social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--color-border);
    border-radius: 50%;
    color: var(--color-text-muted);
    text-decoration: none;
    transition: all var(--transition-fast);
}

.site-footer .footer-social .social-link:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

.footer-email {
    margin-top: 1rem;
    display: block;
}

.footer-email a {
    color: var(--color-text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color var(--transition-fast);
}

.footer-email a:hover {
    color: var(--color-accent);
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-bottom: 0.5rem;
}

.footer-credit a {
    color: var(--color-accent);
    text-decoration: none;
}

/* ============================================
   Animation Keyframes
   ============================================ */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

/* Scroll animations */
.animate-fade-up,
.service-card,
.philosophy-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-fade-up.animated,
.service-card.animated,
.philosophy-card.animated {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* ============================================
   Mobile Navigation
   ============================================ */
@media (max-width: 900px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--color-bg);
        flex-direction: column;
        justify-content: center;
        padding: 2rem;
        transition: right var(--transition-medium);
        box-shadow: var(--shadow-strong);
    }

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

    .nav-link {
        color: var(--color-text);
        font-size: 1rem;
    }

    .nav-link.nav-cta {
        border-color: var(--color-border);
        text-align: center;
    }

    body.nav-open {
        overflow: hidden;
    }

    body.nav-open::before {
        content: '';
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
    }
}

/* ============================================
   Responsive Updates
   ============================================ */
@media (max-width: 1024px) {
    .masonry-gallery {
        grid-template-columns: repeat(3, 1fr);
    }
}

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

    .gallery-item.gallery-wide {
        grid-column: span 1;
        aspect-ratio: 1;
    }

    .gallery-filter {
        gap: 0.5rem;
    }

    .filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.75rem;
    }

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

@media (max-width: 480px) {
    .masonry-gallery {
        grid-template-columns: 1fr;
    }

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

    .lightbox-prev {
        left: 0.5rem;
    }

    .lightbox-next {
        right: 0.5rem;
    }

    .contact-form-wrapper {
        padding: 1.5rem;
    }
}

/* ============================================
   Print Styles
   ============================================ */
@media print {
    .site-nav,
    .hero-scroll,
    .lightbox,
    .rsl-theme-toggle,
    .nav-toggle,
    #rsl-accessibility-widget {
        display: none !important;
    }

    body {
        background: #fff;
        color: #000;
    }

    .hero {
        height: auto;
        min-height: 0;
        padding: 2rem 0;
    }

    .section {
        padding: 2rem 0;
    }
}
