/* CSS Variables for theming */
:root {
    /* Day mode colors - Elegant light theme */
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-tertiary: #e9ecef;
    --accent-color: #000000;
    --accent-hover: #495057;
    --text-primary: #212529;
    --text-secondary: #495057;
    --border-color: #dee2e6;
    --shadow-color: rgba(0, 0, 0, 0.1);
    --nav-bg: rgba(255, 255, 255, 0.95);
    --card-bg: rgba(248, 249, 250, 0.8);
    --text-muted: #6c757d;
    --success-color: #28a745;
    --error-color: #dc3545;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

[data-theme="dark"] {
    --bg-primary: #1a1a1a;
    --bg-secondary: #2d2d2d;
    --bg-tertiary: #404040;
    --accent-color: #ffffff;
    --accent-hover: #e9ecef;
    --text-primary: #ffffff;
    --text-secondary: #e9ecef;
    --border-color: #495057;
    --shadow-color: rgba(255, 255, 255, 0.1);
    --nav-bg: rgba(26, 26, 26, 0.95);
    --card-bg: rgba(45, 45, 45, 0.8);
    --text-muted: #adb5bd;
    --success-color: #28a745;
    --error-color: #dc3545;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.3);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.3), 0 2px 4px -2px rgb(0 0 0 / 0.3);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.3), 0 4px 6px -4px rgb(0 0 0 / 0.3);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.3), 0 8px 10px -6px rgb(0 0 0 / 0.3);
}

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Message Banner */
.message-banner {
    position: fixed;
    top: 90px;
    left: 0;
    right: 0;
    z-index: 999;
    padding: 1rem 0;
    animation: slideDown 0.3s ease-out;
}

.message-success {
    background: var(--success-color);
    color: white;
}

.message-error {
    background: var(--error-color);
    color: white;
}

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

.message-banner p {
    margin: 0;
    font-weight: 500;
}

.message-close {
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: bold;
    line-height: 1;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    transition: background-color 0.3s ease;
}

.message-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    max-width: 1200px;
    background: var(--nav-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-lg);
    opacity: 1;
    pointer-events: all;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 60px;
    padding: 0 2rem;
    gap: 2rem;
}
.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
    width: 100%;
    padding: 0 2rem;
}
.nav-logo {
    margin-right: auto;
    display: flex;
    align-items: center;
}
.nav-logo-img {
    height: 38px;
    width: auto;
    margin-right: 0.7rem;
    vertical-align: middle;
}
.nav-logo-day {
    display: inline-block;
}
[data-theme="dark"] .nav-logo-day {
    display: none;
}
[data-theme="dark"] .nav-logo-dark {
    display: inline-block;
}
.nav-logo-dark {
    display: none;
}
.nav-burger-checkbox {
    display: none;
}
.nav-burger {
    display: none !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 48px;
    height: 48px;
    cursor: pointer;
    border-radius: 50%;
    background: var(--nav-bg);
    border: 1px solid var(--border-color);
    margin-left: 1rem;
    z-index: 1201;
    transition: background 0.2s;
}
.nav-burger span {
    display: block;
    width: 26px;
    height: 3px;
    background: var(--accent-color);
    margin: 4px 0;
    border-radius: 2px;
    transition: all 0.3s;
}
.nav-menu {
    display: flex;
    gap: 1.2rem;
    align-items: center;
    transition: left 0.3s, opacity 0.3s;
    position: static;
    background: none;
    height: auto;
    width: auto;
    opacity: 1;
    pointer-events: all;
}
.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    position: relative;
    padding: 0.3rem 0;
}
.nav-logo a {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--accent-color);
    text-decoration: none;
}
.nav-burger-checkbox:checked ~ .nav-menu {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
}
/* Burger animation */
.nav-burger-checkbox:checked + .nav-burger span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.nav-burger-checkbox:checked + .nav-burger span:nth-child(2) {
    opacity: 0;
}
.nav-burger-checkbox:checked + .nav-burger span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}
@media (min-width: 900px) {
    .nav-menu {
        min-width: 320px;
    }
}
@media (max-width: 900px) {
    .navbar {
        width: 100vw;
        max-width: none;
        border-radius: 0;
        padding: 0 1rem;
        gap: 0;
        height: 60px;
    }
    .nav-burger {
        display: flex !important;
    }
    .nav-menu {
        position: fixed;
        top: 0;
        left: -100vw;
        width: 100vw;
        height: 100vh;
        background: var(--bg-primary);
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 0;
        padding: 90px 2rem 2rem 2rem;
        box-shadow: var(--shadow-xl);
        opacity: 0;
        pointer-events: none;
        transition: left 0.3s, opacity 0.3s;
        z-index: 2001;
    }
    .nav-burger-checkbox:checked ~ .nav-menu {
        left: 0;
        opacity: 1;
        pointer-events: all;
    }
    .nav-link {
        font-size: 1.2rem;
        padding: 1.2rem 0;
        width: 100%;
        text-align: left;
        border-bottom: 1px solid var(--border-color);
    }
}
@media (max-width: 600px) {
    .navbar {
        height: 50px;
        padding: 0 0.5rem;
    }
    .nav-logo-img {
        height: 32px;
    }
    .nav-burger {
        width: 40px;
        height: 40px;
    }
    .nav-menu {
        padding: 70px 1rem 1rem 1rem;
    }
}
.nav-link:hover {
    color: var(--accent-color);
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}
.nav-link:hover::after {
    width: 100%;
}
.nav-controls {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.theme-toggle {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
}
.theme-toggle:hover {
    background: var(--bg-secondary);
    color: var(--accent-color);
}
.moon-icon,
[data-theme="dark"] .sun-icon {
    display: block;
}
.language-toggle {
    background: none !important;
    color: var(--text-secondary) !important;
    border: none;
    border-radius: 0;
    padding: 0.3rem 0.7rem;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: color 0.3s;
    outline: none;
    box-shadow: none;
    display: inline;
    align-items: center;
    justify-content: center;
    height: auto;
    line-height: 1.2;
}
[data-theme="dark"] .language-toggle {
    background: var(--accent-color);
    color: var(--bg-primary);
    border: none;
}
.language-toggle:hover {
    background: none !important;
    color: var(--accent-color) !important;
    transform: none;
}
.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}
.nav-toggle span {
    width: 20px;
    height: 2px;
    background: var(--text-secondary);
    margin: 2px 0;
    transition: 0.3s;
    border-radius: 2px;
}
.nav-checkbox {
    display: none;
}
/* Hero Section - Simplified Landing */
.hero {
    padding: 0;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(0, 0, 0, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(0, 0, 0, 0.05) 0%, transparent 50%);
    pointer-events: none;
}
[data-theme="dark"] .hero::before {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
}
.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}
.hero-title {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-hover));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}
.hero-description {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 500px;
    line-height: 1.6;
}
.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}
.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}
.hero-profile {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: var(--shadow-xl);
    border: 4px solid var(--bg-primary);
    transition: transform 0.3s ease;
}
.hero-profile:hover {
    transform: scale(1.05);
}
.hero-logo {
    height: 96px;
    width: auto;
    display: none;
    margin-bottom: 0.7rem;
    vertical-align: middle;
}
.hero-logo-day {
    display: inline-block;
}
[data-theme="dark"] .hero-logo-day {
    display: none;
}
[data-theme="dark"] .hero-logo-dark {
    display: inline-block;
}
.hero-logo-dark {
    display: none;
}
@media (max-width: 600px) {
    .hero-logo {
        height: auto;
        max-width: 90vw;
        margin: 0 auto 0.7rem auto;
    }
}
/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}
.btn-primary {
    background: var(--accent-color);
    color: var(--bg-primary);
}
.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}
.btn-secondary {
    background: transparent;
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
}
.btn-secondary:hover {
    background: var(--accent-color);
    color: var(--bg-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}
/* Sections */
section {
    padding: 80px 0;
}
.section-title {
    text-align: left;
    margin-bottom: 2rem;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    white-space: nowrap;
    max-width: 100%;
}
.section-description {
    text-align: left;
    padding-left: 1rem;
    width: 100%;
    margin: 0 0 3rem 0;
    font-size: 1.125rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 2.8rem;
}

/* About Section */
.about {
    background: var(--bg-secondary);
    padding: 3rem 0;
}
.about-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
}
.about-text p {
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}
.about-text p:last-child {
    margin-bottom: 0;
}
.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}
.about-profile {
    width: 70%;
    max-width: 70%;
    height: auto;
    border-radius: 1rem;
    object-fit: cover;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--bg-primary);
    transition: transform 0.3s ease;
}
.about-profile:hover {
    transform: scale(1.02);
}

/* Responsive adjustments for about section */
@media (max-width: 768px) {
    .about {
        padding: 2rem 0;
    }
    .about-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .about-profile {
        width: 100%;
        max-width: 100%;
        height: auto;
    }
}
/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}
.service-card {
    background: var(--card-bg);
    padding: 2rem 1.2rem;
    border-radius: 1rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    position: relative;
    min-height: 260px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}
.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--accent-color);
}
.service-icon {
    width: 80px;
    height: 80px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--bg-primary);
}
.service-card h3 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}
.service-card p {
    color: var(--text-muted);
}
.service-info-btn {
    margin-top: 1rem;
    background: var(--accent-color);
    color: var(--bg-primary);
    border: none;
    border-radius: 50%;
    width: 2.2rem;
    height: 2.2rem;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s, transform 0.2s;
}
.service-info-btn:hover {
    background: var(--accent-hover);
    color: var(--bg-primary);
    transform: scale(1.1);
}
.service-details {
    display: none;
    margin-top: 1.2rem;
    text-align: left;
    background: var(--bg-secondary);
    border-radius: 0.7rem;
    padding: 1rem 1.2rem;
    box-shadow: var(--shadow-md);
    width: 100%;
    max-width: 350px;
    margin-left: auto;
    margin-right: auto;
}
.service-details.open {
    display: block;
}
/* Work Section */
.work {
    background: var(--bg-secondary);
}
.work-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    grid-auto-rows: 250px;
}
.work-item {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    transition: all 0.3s ease;
}
.work-item:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-xl);
}
.work-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.work-item:hover .work-image {
    transform: scale(1.1);
}
.work-split {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 2.5rem;
}
.work-details {
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}
.work-list-col {
    min-width: 220px;
    max-width: 260px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    flex-shrink: 0;
}
.work-list-col .section-title {
    display: none;
}
.work-list {
    min-width: 180px;
    max-width: 220px;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}
.work-list-item {
    background: var(--card-bg);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    border-radius: 1.2rem;
    padding: 0.9rem 1.2rem;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border 0.2s;
    text-align: left;
    outline: none;
}
.work-list-item:hover, .work-list-item.active {
    background: var(--accent-color);
    color: var(--bg-primary);
    border-color: var(--accent-color);
}
.work-detail {
    display: none;
    flex-direction: row;
    align-items: stretch;
    width: 100%;
    background: var(--card-bg);
    border-radius: 1.2rem;
    box-shadow: var(--shadow-md);
    padding: 2rem 2.5rem;
    min-width: 260px;
    max-width: 100%;
    margin-left: 0;
    margin-right: auto;
    animation: fadeIn 0.3s;
}
.work-detail.open {
    display: flex;
}
.work-detail-desc {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    align-text: center;
    min-width: 180px;
    max-width: 340px;
    margin-right: 2.5rem;
}
.work-detail-img {
    flex: 0 0 220px;
    width: 220px;
    height: 260px;
    border-radius: 1rem;
    margin: auto 0 auto 0;
    box-shadow: var(--shadow-lg);
    object-fit: cover;
    align-self: center;
}
.work-detail-placeholder {
    color: var(--text-muted);
    font-size: 1.1rem;
    padding: 2rem 0;
    text-align: center;
    font-style: italic;
    font-weight: 400;
    animation: pulse 1.5s infinite;
    max-width: 400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}
@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* mission Section */
.mission {
    background: var(--bg-primary);
    padding: 6rem 0;
}
.mission-content {
    width: 100%;
    margin: 0 auto;
    text-align: left;
}
.mission-text {
    width: 100%;
}
.mission-text p {
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    text-align: left;
    width: 100%;
}
.mission-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.stat {
    text-align: center;
}
.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}
.stat-label {
    color: var(--text-muted);
    font-weight: 500;
}
/* Book Section */
.book {
    background: var(--bg-secondary);
}
.book-content {
    max-width: 1000px;
    margin: 0 auto;
    background: var(--bg-primary);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}
#my-cal-inline {
    width: 100%;
    height: 600px;
    border-radius: 0.5rem;
    overflow: hidden;
}

/* Social Media Section */
.social {
    background: var(--bg-secondary);
    padding: 6rem 0;
}

.social-content {
    margin: 2rem auto;
    max-width: 1200px;
}

.instagram-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
    padding: 0 1rem;
}

.instagram-grid .instagram-media {
    margin: 0 auto !important;
}

@media (max-width: 768px) {
    .social-grid {
        grid-template-columns: 1fr;
    }
    
    .social-links {
        flex-direction: column;
        align-items: center;
    }
    
    .social-link {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

/* Modern Contact Section */
.contact-modern {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
    justify-content: center;
    flex-wrap: wrap;
}
.contact-profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 2rem;
}
.contact-profile-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: var(--shadow-lg);
    margin-bottom: 1rem;
    border: 3px solid var(--accent-color);
}
.contact-info {
    min-width: 220px;
    max-width: 300px;
    flex: 1 1 220px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.contact-form {
    flex: 2 1 350px;
    background: var(--card-bg);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}
/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}
.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-primary);
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    background: var(--bg-primary);
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px var(--shadow-color);
}
[data-theme="dark"] .form-group input:focus,
[data-theme="dark"] .form-group select:focus,
[data-theme="dark"] .form-group textarea:focus {
    box-shadow: 0 0 0 3px var(--shadow-color);
}
.form-group textarea {
    resize: vertical;
    min-height: 100px;
}
/* Footer */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 3rem 0 1rem;
}
.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}
.footer-brand h3 {
    color: var(--accent-color);
    margin-bottom: 1rem;
}
.footer-brand p {
    color: var(--text-muted);
}
.footer-social h4 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}
.social-links {
    display: flex;
    gap: 1rem;
}
.social-link {
    width: 40px;
    height: 40px;
    background: var(--bg-tertiary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.3s ease;
}
.social-link:hover {
    background: var(--accent-color);
    color: var(--bg-primary);
    transform: translateY(-2px);
}
.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
}
.footer-logo {
    height: 48px;
    width: auto;
    display: none;
    margin-bottom: 0.7rem;
    vertical-align: middle;
}
.footer-logo-day {
    display: inline-block;
}
[data-theme="dark"] .footer-logo-day {
    display: none;
}
[data-theme="dark"] .footer-logo-dark {
    display: inline-block;
}
.footer-logo-dark {
    display: none;
}
/* Responsive Design */
@media (max-width: 768px) {
    .navbar {
        top: 10px;
        width: 95%;
        max-width: none;
        border-radius: 25px;
    }
    .nav-container {
        padding: 0 1rem;
        height: 50px;
    }
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--bg-primary);
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 2rem;
        transition: left 0.3s ease;
        border-top: 1px solid var(--border-color);
        border-radius: 0;
        min-width: 0;
        max-width: none;
        flex-wrap: nowrap;
        overflow-x: visible;
        white-space: normal;
    }
    .nav-checkbox:checked ~ .nav-menu {
        left: 0;
    }
    .nav-toggle {
        display: flex;
    }
    .nav-checkbox:checked ~ .nav-toggle span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    .nav-checkbox:checked ~ .nav-toggle span:nth-child(2) {
        opacity: 0;
    }
    .nav-checkbox:checked ~ .nav-toggle span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    .hero {
        padding: 0;
    }
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    .hero-buttons {
        justify-content: center;
    }
    .hero-profile {
        width: 300px;
        height: 300px;
    }
    .about-content,
    .mission-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .about-profile {
        width: 100%;
        max-width: 100%;
        height: auto;
    }
    .services-grid {
        grid-template-columns: 1fr;
    }
    .work-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    .mission-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .social-links {
        justify-content: center;
    }
    .message-banner {
        top: 80px;
    }
    #my-cal-inline {
        height: 500px;
    }
}
@media (max-width: 480px) {
    .container {
        padding: 0 0.5rem;
    }
    .hero {
        padding: 0;
    }
    section {
        padding: 60px 0;
    }
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    .btn {
        width: 100%;
        max-width: 300px;
    }
    .nav-container {
        padding: 0 0.75rem;
    }
    .nav-logo a {
        font-size: 1rem;
    }
    .nav-link {
        font-size: 0.8rem;
    }
    .hero-profile {
        width: 250px;
        height: 250px;
    }
    .about-profile {
        width: 100%;
        max-width: 100%;
        height: auto;
    }
    #my-cal-inline {
        height: 400px;
    }
}
@media (max-width: 900px) {
    .contact-modern {
        flex-direction: column;
        align-items: stretch;
    }
    .contact-form {
        margin-top: 2rem;
    }
    .work-split {
        flex-direction: column;
        gap: 1.5rem;
        align-items: stretch;
    }
    .work-list-col {
        max-width: 100%;
    }
    .work-list {
        position: relative;
        max-width: 100%;
        flex-direction: row;
        overflow-x: auto;
        overflow-y: hidden;
        padding-bottom: 0.5rem;
        scrollbar-width: thin;
    }
    .work-list::after {
        content: '';
        position: absolute;
        right: 0;
        top: 0;
        width: 32px;
        height: 100%;
        pointer-events: none;
        background: linear-gradient(to left, var(--bg-secondary) 80%, transparent 100%);
        z-index: 2;
        display: none;
    }
    .work-list-item {
        font-size: 1rem;
        padding: 0.7rem 1rem;
        white-space: nowrap;
        flex-shrink: 0;
    }
    .work-detail {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.2rem;
    }
    
    .work-detail-desc {
        margin-right: 0;
        max-width: 100%;
        order: 2; /* Textul vine după imagine */
    }
    
    .work-detail-img {
        width: 100%;
        max-width: 280px; /* sau 300px, după preferință */
        height: auto;
        aspect-ratio: 220 / 260; /* Păstrează același ratio ca desktop */
        object-fit: cover;
        margin: 1rem auto 0 auto;
    }
}
@media (max-width: 600px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}
/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}
/* Form success/error states */
.form-group input:invalid,
.form-group select:invalid,
.form-group textarea:invalid {
    border-color: var(--error-color);
}
.form-group input:valid,
.form-group select:valid,
.form-group textarea:valid {
    border-color: var(--success-color);
}
/* Focus styles for accessibility */
.nav-link:focus,
.theme-toggle:focus,
.language-toggle:focus,
.btn:focus,
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}
/* Vertical floating controls pill */
.floating-controls {
    position: fixed;
    bottom: 20px;
    right: 16px;
    z-index: 3000;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    background: var(--nav-bg);
    border: 1px solid var(--border-color);
    border-radius: 32px;
    box-shadow: var(--shadow-lg);
    padding: 0.7rem 0.25rem;
    backdrop-filter: blur(20px);
    opacity: 1;
    pointer-events: all;
    transition: box-shadow 0.2s, background 0.2s;
    width: 48px;
}
.floating-controls .theme-toggle,
.floating-controls .language-toggle {
    margin: 0.1rem 0;
    font-size: 1rem;
    height: 28px;
    width: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.floating-controls .language-toggle {
    border-radius: 50px;
    padding: 0 0.7rem;
    width: 36px;
    min-width: 28px;
    font-weight: 600;
    font-size: 0.95rem;
}
@media (max-width: 600px) {
    .floating-controls {
        bottom: 10px;
        right: 4px;
        padding: 0.4rem 0.12rem;
        width: 40px;
        z-index: 3000;
    }
}
/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}
.gallery-thumb {
    display: block;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: box-shadow 0.2s;
    position: relative;
    z-index: 1;
}
.gallery-thumb:hover {
    box-shadow: var(--shadow-xl);
}
.gallery-thumb .work-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
    border-radius: 1rem;
    transition: none;
}


/* Lightbox */
#js-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.92);
    flex-direction: column;
    transition: opacity 0.2s;
}
#js-lightbox[style*="display: flex"] {
    display: flex !important;
}
.js-lightbox-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100vw;
    height: 100vh;
    background: transparent;
    z-index: 2001;
}
.js-lightbox-content {
    position: relative;
    z-index: 2002;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    max-width: 90vw;
    max-height: 90vh;
    height: 90vh;
    width: 90vw;
    background: none;
    gap: 2.5rem;
}
.js-lightbox-img {
    max-height: 90vh;
    max-width: 60vw;
    height: 90vh;
    width: auto;
    border-radius: 1rem;
    box-shadow: var(--shadow-xl);
    background: #222;
    margin: 0;
    display: block;
}
.js-lightbox-caption {
    color: #fff;
    background: rgba(0,0,0,0.7);
    padding: 1.2rem 1.5rem;
    border-radius: 0.7rem;
    font-size: 1.1rem;
    box-shadow: 0 2px 16px rgba(0,0,0,0.18);
    text-align: left;
    max-width: 24vw;
    min-width: 180px;
    margin: 0;
    align-self: flex-start;
    word-break: break-word;
    overflow-wrap: break-word;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: auto;
}
.js-lightbox-close {
    position: absolute;
    top: 18px;
    right: 28px;
    font-size: 2.5rem;
    color: #fff;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 2100;
    transition: color 0.2s;
}
.js-lightbox-close:hover {
    color: var(--accent-color);
}
.js-lightbox-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: #fff;
    background: rgba(0,0,0,0.12);
    border-radius: 50%;
    width: 1.8rem;
    height: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    z-index: 2100;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    cursor: pointer;
    user-select: none;
    border: none;
    opacity: 0.25;
}
.js-lightbox-arrow:hover, .js-lightbox-arrow:focus {
    background: var(--accent-color);
    color: var(--bg-primary);
    outline: none;
    opacity: 0.5;
}
.js-lightbox-arrow-left {
    left: 1vw;
}
.js-lightbox-arrow-right {
    right: 1vw;
}
@media (max-width: 900px) {
    .js-lightbox-content {
        flex-direction: column;
        max-width: 98vw;
        max-height: 98vh;
        width: 98vw;
        height: 98vh;
        gap: 1.2rem;
    }
    .js-lightbox-img {
        max-width: 95vw;
        max-height: 60vh;
        width: 95vw;
        height: auto;
    }
    .js-lightbox-caption {
        max-width: 95vw;
        min-width: 0;
        font-size: 0.95rem;
        padding: 1rem 1.2rem;
    }
}
.work-section-title {
    margin-bottom: 1.5rem;
    text-align: left;
}
.work-gallery {
    margin-top: 3rem;
}
.work-gallery .section-title {
    margin-bottom: 1.2rem;
    text-align: left;
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}
.gallery-thumb {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.gallery-thumb .work-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
    border-radius: 1rem;
}
/* Lightbox caption: compact, under image */
.lightbox-caption {
    margin: 0.7rem auto 0 auto;
    max-width: 320px;
    text-align: center;
    position: relative;
    display: block;
}
.lightbox-caption h3 {
    margin-bottom: 0.2rem;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
}
.lightbox-caption p {
    color: #eee;
    font-size: 0.95rem;
    margin-bottom: 0;
}
/* Center work-details to work-list */
.work-details {
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
/* Make contact-block fully clickable and interactive */
.contact-block {
    cursor: pointer;
    transition: box-shadow 0.2s, background 0.2s, color 0.2s;
    position: relative;
}
.contact-block:hover, .contact-block:focus-within {
    background: var(--accent-color);
    color: var(--bg-primary);
    box-shadow: 0 4px 24px rgba(0,0,0,0.10);
}
.contact-block:active {
    background: var(--accent-hover);
}
.contact-block * {
    pointer-events: none;
}
.contact-block a, .contact-block span {
    pointer-events: auto;
}
/* Make contact icons clickable and visually interactive */
.contact-icon.contact-action {
    cursor: pointer;
    transition: color 0.2s, background 0.2s;
    border-radius: 50%;
    padding: 0.3em;
}
.contact-icon.contact-action:hover, .contact-icon.contact-action:focus {
    background: var(--accent-color);
    color: var(--bg-primary);
    outline: none;
}
/* Contact pills layout */
.contact-row {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}
.contact-pill {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    background: var(--card-bg);
    border-radius: 2rem;
    padding: 1rem 2.2rem;
    box-shadow: var(--shadow-md);
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-primary);
    text-decoration: none;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    cursor: pointer;
    border: none;
    outline: none;
    min-width: 180px;
    justify-content: center;
}
.contact-pill:hover, .contact-pill:focus {
    background: var(--accent-color);
    color: var(--bg-primary);
    box-shadow: 0 4px 24px rgba(0,0,0,0.10);
    outline: none;
}
.contact-pill i {
    font-size: 1.3rem;
    margin-right: 0.5rem;
}
/* Lightbox content row: grid layout for arrows, image, caption */
.lightbox-content-row {
    display: grid;
    grid-template-columns: 5vw 65vw 1fr 5vw;
    align-items: center;
    justify-items: center;
    max-width: 95vw;
    margin: 0 auto;
    gap: 0;
    width: 100vw;
    min-width: 0;
}
.lightbox-arrow.lightbox-arrow-left {
    grid-column: 1;
    justify-self: start;
}
.lightbox-content-row img {
    grid-column: 2;
    max-width: 65vw;
    max-height: 80vh;
    height: auto;
    border-radius: 1rem;
    box-shadow: var(--shadow-xl);
    background: #222;
    display: block;
}
.lightbox-caption {
    grid-column: 3;
    max-width: 20vw;
    min-width: 120px;
    text-align: left;
    position: relative;
    display: block;
    color: #fff;
    background: rgba(0,0,0,0.7);
    padding: 1.2rem 1.2rem;
    border-radius: 0.7rem;
    font-size: 1rem;
    box-shadow: 0 2px 16px rgba(0,0,0,0.18);
    word-break: break-word;
    margin-left: 1vw;
}
.lightbox-arrow.lightbox-arrow-right {
    grid-column: 4;
    justify-self: end;
}
@media (max-width: 900px) {
    .lightbox-content-row {
        display: flex;
        flex-direction: column;
        gap: 1.2rem;
        align-items: center;
    }
    .lightbox-content-row img {
        max-width: 90vw;
        max-height: 60vh;
    }
    .lightbox-caption {
        max-width: 95vw;
        min-width: 0;
        text-align: center;
        padding: 0.8rem 0.7rem;
        margin-left: 0;
    }
}
.faq-testimonials {
    background: var(--bg-secondary);
    padding: 60px 0 40px 0;
    margin-top: 2rem;
}
.faq-testimonials .container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
}
.faq-testimonials h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: left;
}
.faq-testimonials h3 {
    font-size: 1.1rem;
    margin: 1.2rem 0 0.5rem 0;
    color: var(--accent-color);
}
.faq-testimonials p {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}
.testimonials {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}
.testimonial {
    background: var(--card-bg);
    border-radius: 1rem;
    padding: 1.2rem 1.5rem;
    box-shadow: var(--shadow-md);
    font-size: 1.05rem;
    color: var(--text-primary);
    border-left: 4px solid var(--accent-color);
}
.testimonial span {
    display: block;
    margin-top: 0.5rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 500;
}

/* Animated burger menu icon */
.nav-burger {
    background: var(--nav-bg);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    z-index: 1201;
    transition: background 0.2s;
}
.nav-burger svg {
    width: 32px;
    height: 32px;
    display: block;
}
.nav-burger .burger-bar {
    fill: none;
    stroke: var(--accent-color);
    stroke-width: 3;
    stroke-linecap: round;
    transition: all 0.3s cubic-bezier(.4,2,.6,1);
}
.nav-burger.active .burger-bar-top {
    transform: translateY(10px) rotate(45deg);
}
.nav-burger.active .burger-bar-mid {
    opacity: 0;
}
.nav-burger.active .burger-bar-bot {
    transform: translateY(-10px) rotate(-45deg);
}
.footer-contact-info {
    color: var(--text-muted);
    font-size: 0.97rem;
    margin-top: 0.5rem;
    margin-bottom: 0;
    line-height: 1.5;
}
.footer-contact-row {
    display: flex;
    gap: 1.2rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin: 1.2rem 0 0 0;
}
@media (max-width: 600px) {
    .footer-contact-row {
        flex-direction: column;
        gap: 0.7rem;
        align-items: stretch;
    }
}
.faq-main, .terms-main, .privacy-main {
    min-height: 60vh;
    padding: 60px 0 40px 0;
    background: var(--bg-secondary);
}
.faq-list {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.faq-item h2 {
    font-size: 1.15rem;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}
.faq-item p {
    color: var(--text-secondary);
    font-size: 1.05rem;
}
.footer-links {
    margin-top: 1.2rem;
    font-size: 1rem;
    color: var(--text-muted);
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
    justify-content: center;
}
.footer-links a {
    color: var(--text-muted);
    text-decoration: underline;
    transition: color 0.2s;
}
.footer-links a:hover {
    color: var(--accent-color);
}

/* Gallery Preview Styles */
.gallery-preview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.gallery-cta {
    text-align: center;
    margin-top: 2rem;
}

.gallery-cta .btn {
    font-size: 1.1rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.gallery-cta .btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Gallery Page Styles */
.gallery-header {
    padding: 120px 0 60px;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    text-align: center;
}

.gallery-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.gallery-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--bg-tertiary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

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

.back-btn i {
    font-size: 0.9rem;
}

/* Gallery page navigation */
.navbar .nav-link.active {
    color: var(--accent-color);
    font-weight: 600;
}

.navbar .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: var(--accent-color);
    border-radius: 1px;
}

/* Ensure nav-link has relative positioning for the active indicator */
.nav-link {
    position: relative;
}

/* Responsive adjustments for gallery */
@media (max-width: 768px) {
    .gallery-header {
        padding: 100px 0 40px;
    }
    
    .gallery-title {
        font-size: clamp(2rem, 4vw, 3rem);
    }
    
    .gallery-description {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .gallery-preview {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1rem;
    }
    
    .gallery-cta .btn {
        font-size: 1rem;
        padding: 0.875rem 1.75rem;
    }
}

@media (max-width: 480px) {
    .gallery-header {
        padding: 80px 0 30px;
    }
    
    .gallery-preview {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 0.75rem;
    }
    
    .back-btn {
        padding: 0.625rem 1.25rem;
        font-size: 0.9rem;
    }
}

/* Back to Website button styles for above-footer placement */
.back-to-website-container {
    width: 100%;
    display: flex;
    justify-content: center;
    margin: 1.5rem;
    font-size: 1.1rem;
}
.back-to-website {
    font-size: 1.1rem;
    padding: 1.5rem 1.5rem;
    border-radius: 50px;
    box-shadow: var(--shadow-lg);
    background: var(--bg-tertiary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}
.back-to-website:hover {
    background: var(--accent-color);
    color: #fff;
    transform: translateY(-2px) scale(1.04);
}
@media (max-width: 600px) {
    .back-to-website {
        font-size: 1rem;
        padding: 0.75rem 1.5rem;
    }
    .back-to-website-container {
        margin-bottom: 1.2rem;
    }
}