@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@300;400;700&family=Noto+Sans+Ethiopic:wght@300;400;700&family=Playfair+Display:ital,wght@0,400;0,700;1,400&display=swap');

@font-face {
    font-family: 'Hanna Menu';
    src: url('assets/Hanna-Menu.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Hanna Title';
    src: url('assets/Hanna-Title.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Hanna Normal';
    src: url('assets/Hanna-Normal.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

        :root {
            --primary: #8fb9a8;
            --primary-dark: #6e9485;
            --bg-texture: url('https://www.transparenttextures.com/patterns/crinkled-paper.png');
        }

        body {
            font-family: 'Noto Sans Ethiopic', 'Playfair Display', serif;
            transition: background-color 0.3s, color 0.3s;
        }

        body.lang-am {
            font-family: 'Hanna Normal', 'Noto Sans Ethiopic', serif;
        }
        
        body.lang-en {
            font-family: 'Nunito', sans-serif;
        }

        .lang-am .nav-link {
            font-family: 'Hanna Menu', 'Noto Sans Ethiopic', serif;
        }

        .lang-am h1,
        .lang-am h2,
        .lang-am h3,
        .lang-am h4 {
            font-family: 'Hanna Title', 'Noto Sans Ethiopic', serif;
        }

        .light-mode {
            background-color: #fdfdfb;
            background-image: var(--bg-texture);
            color: #2d3436;
        }

        .light-mode nav {
            background-color: rgba(255, 255, 255, 0.95);
        }

        .light-mode .content-card {
            background-color: #ffffff;
            box-shadow: 0 4px 15px rgba(143, 185, 168, 0.1);
        }

        .light-mode .info-box {
            background-color: #f8fafc;
            border: 1px solid #e2e8f0;
            color: #475569;
        }

        .light-mode footer {
            background-color: #ffffff;
            border-top: 1px solid #f0f0f0;
        }

        .light-mode input, .light-mode select, .light-mode textarea {
            background-color: #ffffff;
            border-color: #e2e8f0;
            color: #2d3436;
        }

        .dark-mode {
            background-color: #1a1c1b;
            background-image: var(--bg-texture);
            color: #e0e0e0;
        }

        .dark-mode nav {
            background-color: rgba(26, 28, 27, 0.95);
        }

        .dark-mode .content-card {
            background-color: #242625;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
        }

        .dark-mode .info-box {
            background-color: #2d2f2e;
            border: 1px solid #3f4140;
            color: #a1a1aa;
        }

        .dark-mode footer {
            background-color: #1a1c1b;
            border-top: 1px solid #2d3436;
        }

        .dark-mode input, .dark-mode select, .dark-mode textarea {
            background-color: #2d2f2e;
            border-color: #3f4140;
            color: #e0e0e0;
        }

        .logo-color { color: #8fb9a8; }
        .btn-primary { background-color: #8fb9a8; color: white; }
        .btn-primary:hover { background-color: #6e9485; }
        
        ::-webkit-scrollbar { width: 8px; }
        ::-webkit-scrollbar-track { background: transparent; }
        ::-webkit-scrollbar-thumb { background: #8fb9a8; border-radius: 10px; }

        .nav-link { cursor: pointer; position: relative; }
        .nav-link::after {
            content: '';
            position: absolute;
            width: 0; height: 2px; bottom: -2px; left: 0;
            background-color: #8fb9a8;
            transition: width 0.3s;
        }
        .nav-link:hover::after { width: 100%; }

        .active-section { display: block !important; animation: fadeIn 0.5s ease; }
        @keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

        /* Advanced 3D Hero Carousel Styling */
        .hero-container {
            position: relative;
            height: 600px;
            width: 100%;
            display: flex;
            justify-content: center;
            align-items: center;
            perspective: 1200px;
            overflow: hidden;
            margin-bottom: 2rem;
        }

        .carousel-item {
            position: absolute;
            width: 320px;
            aspect-ratio: 9/16;
            transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
            border-radius: 1.5rem;
            overflow: hidden;
            box-shadow: 0 20px 40px rgba(0,0,0,0.3);
            cursor: pointer;
            z-index: 1;
            opacity: 0;
            transform: scale(0.6) translateX(0) translateZ(-400px);
        }

        .carousel-item img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        /* Classes for positions */
        .carousel-item.active {
            opacity: 1;
            transform: scale(1) translateX(0) translateZ(0);
            z-index: 10;
        }

        .carousel-item.prev {
            opacity: 0.6;
            transform: scale(0.8) translateX(-280px) translateZ(-200px) rotateY(25deg);
            z-index: 5;
        }

        .carousel-item.next {
            opacity: 0.6;
            transform: scale(0.8) translateX(280px) translateZ(-200px) rotateY(-25deg);
            z-index: 5;
        }

        .carousel-item.hidden-left {
            opacity: 0;
            transform: scale(0.5) translateX(-500px) translateZ(-500px);
        }

        .carousel-item.hidden-right {
            opacity: 0;
            transform: scale(0.5) translateX(500px) translateZ(-500px);
        }

        .hero-content-overlay {
            position: absolute;
            bottom: 40px;
            left: 0;
            right: 0;
            z-index: 20;
            text-align: center;
            pointer-events: none;
        }

        .hero-text-bg {
            display: inline-block;
            padding: 1rem 2rem;
            border-radius: 1rem;
            pointer-events: auto;
        }

        .form-input-focus:focus {
            outline: none;
            border-color: #8fb9a8;
            box-shadow: 0 0 0 3px rgba(143, 185, 168, 0.2);
        }

        .service-option {
            border: 2px solid transparent;
            transition: all 0.3s;
        }
        .service-option:hover {
            border-color: #8fb9a8;
        }
        .service-option.selected {
            border-color: #8fb9a8;
            background-color: rgba(143, 185, 168, 0.1);
        }

        .booked-badge {
            background-color: #ef4444;
            color: white;
            padding: 2px 8px;
            border-radius: 4px;
            font-size: 0.7rem;
            text-transform: uppercase;
        }

        /* Gallery Hover Overlay */
        .gallery-item {
            position: relative;
            overflow: hidden;
            border-radius: 1rem;
        }
        .social-links-overlay {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            padding: 0.75rem;
            background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
            display: flex;
            justify-content: center;
            gap: 1.5rem;
            opacity: 0;
            transition: opacity 0.3s ease;
            font-size: 1.25rem;
            color: white;
        }
        .gallery-item:hover .social-links-overlay, .mezmur-image-container:hover .social-links-overlay {
            opacity: 1;
        }
        .social-links-overlay a {
            transition: transform 0.2s;
        }
        .social-links-overlay a:hover {
            transform: scale(1.2);
        }
        
        .gallery-item img, .gallery-item video {
            transition: transform 0.6s ease;
        }
        .gallery-item:hover img, .gallery-item:hover video {
            transform: scale(1.1);
        }
        
        .gallery-video-overlay {
            position: absolute;
            top: 0.75rem;
            right: 0.75rem;
            color: white;
            background-color: rgba(0,0,0,0.5);
            border-radius: 50%;
            width: 2.25rem;
            height: 2.25rem;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.9rem;
            backdrop-filter: blur(2px);
        }
        
        .line-clamp-2 {
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        /* Audio Player styles */
        audio {
            filter: invert(0.1);
        }
        .dark-mode audio {
           filter: invert(0.9) hue-rotate(180deg);
        }
