/* =========================================
   3 Dog Photography - Main Stylesheet
   ========================================= */

/* ===== CSS Variables ===== */
:root {
    /* Colors - Blue/Green Nature Theme */
    --primary-blue: #1a365d;
    --primary-blue-light: #2c5282;
    --primary-green: #276749;
    --primary-green-light: #38a169;
    --accent-teal: #319795;
    --accent-teal-light: #4fd1c5;

    /* Neutral Colors */
    --gray-50: #f7fafc;
    --gray-100: #edf2f7;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e0;
    --gray-400: #a0aec0;
    --gray-500: #718096;
    --gray-600: #4a5568;
    --gray-700: #2d3748;
    --gray-800: #1a202c;
    --gray-900: #171923;

    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Raleway', sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);
}

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

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

body {
    font-family: var(--font-body);
    color: var(--gray-800);
    line-height: 1.6;
    background-color: var(--gray-50);
    overflow-x: hidden;
}

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

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

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

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--gray-900);
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
}

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

/* ===== Right Sidebar Navigation ===== */
.sidebar-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 220px;
    height: 100vh;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-green));
    color: white;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
}

.sidebar-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 3rem 2rem;
}

/* Sidebar Logo */
.sidebar-logo {
    margin-bottom: 2rem;
}

.sidebar-logo h1 {
    font-size: 1.75rem;
    color: white;
    margin: 0;
    line-height: 1.2;
}

.sidebar-logo a {
    color: white;
    text-decoration: none;
    transition: opacity var(--transition-fast);
}

.sidebar-logo a:hover {
    opacity: 0.8;
}

/* Sidebar Tagline */
.sidebar-tagline {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.sidebar-tagline p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
    font-weight: 300;
}

.sidebar-tagline .location {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8125rem;
}

/* Sidebar Menu */
.sidebar-menu {
    flex: 1;
}

.sidebar-menu ul {
    list-style: none;
}

.sidebar-menu li {
    margin-bottom: 0.5rem;
}

.sidebar-menu a {
    display: block;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 1.125rem;
    font-weight: 500;
    padding: 0.75rem 0;
    position: relative;
    transition: all var(--transition-fast);
    letter-spacing: 0.5px;
}

.sidebar-menu a::before {
    content: '';
    position: absolute;
    left: -2rem;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 2px;
    background: var(--accent-teal-light);
    transition: width var(--transition-normal);
}

.sidebar-menu a:hover,
.sidebar-menu a.active {
    color: white;
    padding-left: 1rem;
}

.sidebar-menu a:hover::before,
.sidebar-menu a.active::before {
    width: 30px;
    left: -1rem;
}

/* Sidebar Social */
.sidebar-social {
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: auto;
}

.sidebar-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all var(--transition-fast);
}

.sidebar-social a:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    transform: translateY(-2px);
}

/* Sidebar Footer */
.sidebar-footer {
    padding-top: 1rem;
}

.sidebar-footer .admin-link {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
    text-decoration: none;
    transition: color var(--transition-fast);
}

.sidebar-footer .admin-link:hover {
    color: rgba(255, 255, 255, 0.8);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    position: fixed;
    top: 1rem;
    right: 1rem;
    flex-direction: column;
    gap: 5px;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-green));
    border: none;
    cursor: pointer;
    padding: 0.75rem;
    z-index: 1001;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all var(--transition-fast);
}

.mobile-menu-toggle:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.mobile-menu-toggle span {
    width: 24px;
    height: 3px;
    background: white;
    border-radius: 2px;
    transition: all var(--transition-fast);
    display: block;
}

/* Main Content Wrapper */
.main-wrapper {
    margin-right: 220px;
    min-height: 100vh;
    background: white;
}

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

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: ken-burns 20s ease-in-out infinite alternate;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(26, 54, 93, 0.7),
        rgba(39, 103, 73, 0.6)
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 0 var(--spacing-md);
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    font-weight: 300;
}

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

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: white;
    opacity: 0.8;
}

.scroll-indicator svg {
    margin-top: 0.5rem;
    animation: bounce 2s infinite;
}

/* ===== Announcement Bar ===== */
.announcement-bar {
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-green));
    color: white;
    padding: 0.875rem 0;
    position: relative;
    z-index: 100;
}

.announcement-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    position: relative;
    min-height: 28px;
}

.announcement-text {
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.3px;
    position: absolute;
    left: var(--spacing-md);
    right: 200px;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    text-align: center;
    pointer-events: none;
}

.announcement-text.active {
    opacity: 1;
}

.announcement-cta {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.5rem 1.25rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.3);
    margin-left: auto;
}

.announcement-cta:hover {
    background: rgba(255, 255, 255, 0.3);
    color: white;
    transform: translateX(3px);
}

/* ===== Hero Carousel ===== */
.hero-section {
    position: relative;
    height: 700px;
    overflow: hidden;
}

.hero-carousel {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    z-index: 1;
    overflow: hidden;
}

.hero-slide.active {
    opacity: 1;
    z-index: 2;
}

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

.hero-slide .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(26, 54, 93, 0.65),
        rgba(39, 103, 73, 0.55)
    );
    z-index: 1;
}

.hero-carousel .container {
    position: relative;
    z-index: 10;
}

/* Carousel Navigation Dots */
.carousel-dots {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.75rem;
    z-index: 20;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.7);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.carousel-dot:hover {
    background: rgba(255, 255, 255, 0.5);
    transform: scale(1.2);
}

.carousel-dot.active {
    background: white;
    border-color: white;
}

/* ===== Full-Screen Image Sections ===== */
.image-section {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 3rem 2rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
    transform: translateY(100%);
    transition: transform 0.4s ease-out;
    z-index: 10;
}

.image-section:hover .image-caption {
    transform: translateY(0);
}

.image-caption h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.image-caption p {
    font-size: 1rem;
    opacity: 0.9;
    margin: 0;
}

/* Image Grid Layout */
.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 0;
}

.image-grid-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3 / 2;
    cursor: pointer;
}

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

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

/* Scroll Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

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

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease-out;
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease-out;
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    transition: all var(--transition-fast);
    cursor: pointer;
    border: 2px solid transparent;
    font-family: var(--font-body);
    font-size: 1rem;
}

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

.btn-primary:hover {
    background: var(--accent-teal-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: transparent;
    color: white;
    border-color: white;
}

.btn-outline:hover {
    background: white;
    color: var(--primary-blue);
}

.btn-secondary {
    background: var(--gray-200);
    color: var(--gray-700);
}

.btn-secondary:hover {
    background: var(--gray-300);
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
}

.btn-sm {
    padding: 0.5rem 0;
    font-size: 0.875rem;
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

/* ===== Sections ===== */
section {
    padding: var(--spacing-lg) 0;
}

.section-title {
    text-align: center;
    margin-bottom: var(--spacing-md);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--accent-teal));
    margin: 1rem auto 0;
    border-radius: 2px;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-green));
    color: white;
    padding: var(--spacing-lg) 0;
    text-align: center;
}

.page-header h1 {
    color: white;
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
}

.page-header p {
    font-size: 1.25rem;
    opacity: 0.9;
}

/* ===== Home Page Specific ===== */
.intro-section {
    background: white;
}

.intro-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.125rem;
}

.featured-work {
    background: var(--gray-100);
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.featured-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-normal);
}

.featured-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.featured-image-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
}

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

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

.featured-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    color: white;
    padding: 2rem;
    transform: translateY(80%);
    transition: transform var(--transition-normal);
}

.featured-item:hover .featured-overlay {
    transform: translateY(0);
}

.featured-overlay h3 {
    color: white;
    margin-bottom: 0.5rem;
}

.featured-overlay p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* ===== Gallery Page ===== */
.gallery-filters {
    background: white;
    padding: var(--spacing-md) 0;
    border-bottom: 1px solid var(--gray-200);
}

.filter-dropdown-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-label {
    font-family: var(--font-body);
    font-weight: 500;
    color: var(--gray-700);
    margin: 0;
}

.filter-dropdown {
    padding: 0.75rem 1.5rem;
    background: white;
    border: 2px solid var(--gray-300);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    color: var(--gray-800);
    cursor: pointer;
    transition: all var(--transition-fast);
    min-width: 200px;
}

.filter-dropdown:hover {
    border-color: var(--accent-teal);
}

.filter-dropdown:focus {
    outline: none;
    border-color: var(--accent-teal);
    box-shadow: 0 0 0 3px rgba(77, 179, 179, 0.1);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
    cursor: pointer;
    transition: transform var(--transition-normal);
}

.gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

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

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

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

.gallery-item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

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

.gallery-item-overlay h3 {
    color: white;
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.image-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    font-size: 0.75rem;
    text-transform: capitalize;
}

.no-images {
    text-align: center;
    padding: 4rem 0;
    color: var(--gray-500);
    font-size: 1.125rem;
}

/* ===== Lightbox ===== */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    padding: 2rem;
}

.lightbox.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

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

#lightboxImage {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    margin: 0 auto;
}

.lightbox-info {
    text-align: center;
    color: white;
    margin-top: 1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.lightbox-info h3 {
    color: white;
    margin-bottom: 0.5rem;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: fixed;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 2rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: background var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 255, 255, 0.3);
}

.lightbox-close {
    top: 2rem;
    right: 2rem;
}

.lightbox-prev {
    left: 2rem;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-next {
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
}

/* ===== Contact Page ===== */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: start;
}

.contact-info h2 {
    margin-bottom: var(--spacing-md);
}

.contact-details {
    margin: var(--spacing-md) 0;
}

.contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: var(--spacing-md);
}

.contact-icon {
    font-size: 2rem;
}

.contact-item h3 {
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

.inquiry-types {
    background: var(--gray-100);
    padding: var(--spacing-md);
    border-radius: 8px;
    margin-top: var(--spacing-md);
}

.inquiry-types ul {
    list-style: none;
}

.inquiry-types li {
    padding: 0.5rem 0;
}

.contact-form-wrapper {
    background: white;
    padding: var(--spacing-md);
    border-radius: 8px;
    box-shadow: var(--shadow-md);
}

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

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--gray-700);
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--gray-300);
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color var(--transition-fast);
}

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

/* ===== About Page ===== */
.bio-section,
.philosophy-section {
    background: white;
}

.bio-section .container,
.philosophy-section .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.bio-content,
.philosophy-content {
    font-size: 1.125rem;
    line-height: 1.8;
}

.bio-image,
.philosophy-image {
    width: 100%;
}

.placeholder-image {
    background: var(--gray-200);
    border: 2px dashed var(--gray-400);
    border-radius: 8px;
    padding: var(--spacing-lg);
    text-align: center;
    color: var(--gray-500);
    min-height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.placeholder-image p {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.placeholder-image small {
    font-size: 0.875rem;
    color: var(--gray-400);
}

.services-section {
    background: var(--gray-100);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
}

.service-card {
    background: white;
    padding: var(--spacing-md);
    border-radius: 8px;
    box-shadow: var(--shadow-md);
    text-align: left;
    transition: transform var(--transition-normal);
    display: flex;
    flex-direction: column;
}

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

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    margin-bottom: 1rem;
    text-align: center;
}

.service-card p {
    flex: 1;
    margin-bottom: 1.5rem;
}

.service-link {
    color: var(--accent-teal);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all var(--transition-fast);
    margin-top: auto;
}

.service-link:hover {
    color: var(--accent-teal-light);
    gap: 0.75rem;
}

/* ===== Testimonials Section ===== */
.testimonials-section {
    padding: var(--spacing-xl) 0;
    background: white;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.testimonial-card {
    background: var(--gray-50);
    padding: var(--spacing-md);
    border-radius: 8px;
    border-left: 4px solid var(--accent-teal);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.testimonial-text {
    font-style: italic;
    color: var(--gray-700);
    line-height: 1.7;
    flex: 1;
}

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

.testimonial-author strong {
    color: var(--gray-900);
    font-weight: 600;
    font-style: normal;
}

.testimonial-author span {
    color: var(--gray-500);
    font-size: 0.9rem;
}

/* ===== Hero Section (Home Page) ===== */
.hero-section {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-green));
    color: white;
    text-align: center;
    padding: 0;
}

.hero-section .hero-content h1 {
    color: white;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-section .hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== Content Section ===== */
.content-section {
    padding: var(--spacing-xl) 0;
    background: white;
}

.content-wrapper {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.content-wrapper h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-blue);
    text-align: center;
}

.content-wrapper p {
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 1.25rem;
    color: var(--gray-700);
}

.content-wrapper p:last-child {
    margin-bottom: 0;
}

/* ===== Featured Work Preview ===== */
.featured-preview {
    padding: var(--spacing-xl) 0;
    background: var(--gray-50);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-blue);
}

.thumbnail-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.thumbnail-item {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 8px;
    aspect-ratio: 1;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
}

.thumbnail-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

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

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

.thumbnail-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 1.5rem 1rem;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.thumbnail-item:hover .thumbnail-overlay {
    transform: translateY(0);
}

.thumbnail-title {
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
    display: block;
}

/* ===== CTA Section ===== */
.cta-section {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-green));
    color: white;
    text-align: center;
}

.cta-content h2 {
    color: white;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== Footer ===== */
.site-footer {
    background: var(--gray-100);
    color: var(--gray-600);
    padding: 2rem 0;
    margin-right: 220px; /* Account for sidebar */
    border-top: 1px solid var(--gray-200);
}

.footer-copyright {
    text-align: center;
    font-size: 0.875rem;
}

.footer-copyright p {
    margin: 0;
}

/* ===== Alerts ===== */
.alert {
    padding: 1rem 1.5rem;
    border-radius: 4px;
    margin-bottom: 1.5rem;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert-info {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

/* ===== Utility Classes ===== */
.text-center {
    text-align: center;
}

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }

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

@media (max-width: 768px) {
    /* Mobile sidebar - slide in from right */
    .sidebar-nav {
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
    }

    .sidebar-nav.active {
        transform: translateX(0);
    }

    .mobile-menu-toggle {
        display: flex;
    }

    /* Remove sidebar margin on mobile */
    .main-wrapper {
        margin-right: 0;
    }

    .site-footer {
        margin-right: 0;
    }

    /* Image sections responsive */
    .image-section {
        min-height: 400px;
        height: 70vh;
    }

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

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

    .image-caption {
        transform: translateY(0);
        padding: 2rem 1rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.25rem;
    }

    .hero-section {
        height: 600px;
    }

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

    .hero-section .hero-subtitle {
        font-size: 1.125rem;
    }

    .carousel-dots {
        bottom: 2rem;
    }

    .carousel-dot {
        width: 10px;
        height: 10px;
    }

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

    .content-wrapper h2,
    .section-title {
        font-size: 2rem;
    }

    .content-wrapper p {
        font-size: 1rem;
    }

    .announcement-bar {
        padding: 0.75rem 0;
    }

    .announcement-content {
        flex-direction: column;
        gap: 0.75rem;
    }

    .announcement-text {
        font-size: 0.875rem;
        left: var(--spacing-sm);
        right: var(--spacing-sm);
    }

    .announcement-cta {
        font-size: 0.85rem;
        padding: 0.45rem 1rem;
    }

    .page-header h1 {
        font-size: 2.5rem;
    }

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

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

    /* About page responsive */
    .bio-section .container,
    .philosophy-section .container {
        grid-template-columns: 1fr;
    }

    .bio-image,
    .philosophy-image {
        order: -1;
    }

    .placeholder-image {
        min-height: 300px;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 1rem;
    }

    .lightbox-prev,
    .lightbox-next {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }

    .lightbox-prev {
        left: 1rem;
    }

    .lightbox-next {
        right: 1rem;
    }
}

@media (max-width: 480px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }

    section {
        padding: var(--spacing-md) 0;
    }

    .hero-section {
        height: 500px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .hero-section .hero-content h1 {
        font-size: 1.5rem;
        line-height: 1.3;
    }

    .hero-section .hero-subtitle {
        font-size: 0.95rem;
    }

    .carousel-dots {
        bottom: 1.5rem;
        gap: 0.5rem;
    }

    .carousel-dot {
        width: 8px;
        height: 8px;
        border-width: 1px;
    }

    .announcement-text {
        font-size: 0.8rem;
    }

    .announcement-cta {
        font-size: 0.8rem;
        padding: 0.4rem 0.85rem;
    }

    .thumbnail-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .content-wrapper h2,
    .section-title {
        font-size: 1.75rem;
    }

    .content-wrapper p {
        font-size: 0.95rem;
        line-height: 1.6;
    }
}
