/* ===== CSS Variables ===== */
:root {
    /* Golden Color Palette */
    --gold-light: #f4d03f;
    --gold: #d4af37;
    --gold-dark: #b8860b;
    --gold-gradient: linear-gradient(135deg, #f4d03f 0%, #d4af37 50%, #b8860b 100%);
    --gold-shimmer: linear-gradient(90deg, #d4af37 0%, #f4d03f 50%, #d4af37 100%);

    /* Dark Theme */
    --bg-dark: #0a0a0f;
    --bg-darker: #050508;
    --bg-card: #12121a;
    --bg-card-hover: #1a1a25;

    /* Text Colors */
    --text-white: #ffffff;
    --text-light: #e0e0e0;
    --text-muted: #888888;

    /* Typography - Arabic Fonts */
    --font-heading: 'Amiri', serif;
    --font-body: 'Tajawal', sans-serif;

    /* Spacing */
    --section-padding: 120px 0;
    --container-width: 1200px;

    /* Transitions */
    --transition-fast: 0.3s ease;
    --transition-medium: 0.5s ease;
    --transition-slow: 0.8s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.8;
    overflow-x: hidden;
    direction: rtl;
}

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

ul {
    list-style: none;
}

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

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

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition-fast);
}

.navbar.scrolled {
    background-color: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(20px);
    padding: 15px 0;
    box-shadow: 0 2px 30px rgba(212, 175, 55, 0.1);
}

.nav-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 600;
}

.logo-icon {
    font-size: 2rem;
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.5));
}

.logo-text {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-links a {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-light);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--gold-gradient);
    transition: var(--transition-fast);
}

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

.nav-links a:hover {
    color: var(--gold);
}

.nav-cta {
    background: var(--gold-gradient);
    padding: 12px 28px !important;
    border-radius: 30px;
    color: var(--bg-dark) !important;
    font-weight: 600 !important;
}

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

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: var(--gold);
    transition: var(--transition-fast);
}

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

.hero-bg-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at 80% 80%, rgba(212, 175, 55, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 20% 20%, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(212, 175, 55, 0.05) 0%, transparent 70%);
    animation: heroGlow 8s ease-in-out infinite;
}

@keyframes heroGlow {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

.hero-content {
    text-align: center;
    z-index: 1;
    max-width: 900px;
}

.hero-badge {
    display: inline-block;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    padding: 10px 25px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gold);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 30px;
}

.title-line {
    display: block;
    animation: fadeInUp 1s ease;
    animation-fill-mode: both;
}

.title-line:nth-child(1) {
    animation-delay: 0.2s;
    color: var(--text-white);
}

.title-line.highlight {
    animation-delay: 0.4s;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 40px;
    animation: fadeInUp 1s ease 0.6s both;
    line-height: 2;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.8s both;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 40px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
    border: none;
    outline: none;
    font-family: var(--font-body);
}

.btn-primary {
    background: var(--gold-gradient);
    color: var(--bg-dark);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.4);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--gold);
    color: var(--gold);
}

.btn-secondary:hover {
    background: var(--gold);
    color: var(--bg-dark);
    transform: translateY(-3px);
}

.btn-full {
    width: 100%;
}

/* ===== Scroll Indicator ===== */
.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    animation: fadeInUp 1s ease 1s both;
}

.hero-scroll span {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.scroll-indicator {
    width: 25px;
    height: 40px;
    border: 2px solid var(--gold);
    border-radius: 15px;
    margin: 0 auto;
    position: relative;
}

.scroll-indicator::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--gold);
    border-radius: 2px;
    animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }

    50% {
        transform: translateX(-50%) translateY(10px);
        opacity: 0.3;
    }
}

/* ===== Section Styles ===== */
.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-badge {
    display: inline-block;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gold);
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.9;
}

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

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 50px 40px;
    position: relative;
    overflow: hidden;
    transition: var(--transition-medium);
    border: 1px solid rgba(212, 175, 55, 0.1);
    text-align: right;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 3px;
    background: var(--gold-gradient);
    transform: scaleX(0);
    transform-origin: right;
    transition: var(--transition-fast);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(212, 175, 55, 0.3);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card.featured {
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(212, 175, 55, 0.1) 100%);
    border-color: rgba(212, 175, 55, 0.3);
}

.service-card.featured::before {
    transform: scaleX(1);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

.service-icon svg {
    width: 35px;
    height: 35px;
    color: var(--gold);
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--text-white);
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-muted);
    margin-bottom: 25px;
    line-height: 1.9;
}

.service-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.service-features li {
    color: var(--text-light);
    font-size: 0.95rem;
    padding-right: 25px;
    position: relative;
}

.service-features li::before {
    content: '✦';
    position: absolute;
    right: 0;
    color: var(--gold);
    font-size: 0.7rem;
}

/* ===== Portfolio Section ===== */
.portfolio {
    padding: var(--section-padding);
}

.portfolio-filter {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filter-btn {
    background: transparent;
    border: 1px solid rgba(212, 175, 55, 0.3);
    padding: 12px 30px;
    border-radius: 30px;
    color: var(--text-light);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-fast);
    font-family: var(--font-body);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--gold-gradient);
    border-color: transparent;
    color: var(--bg-dark);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
}

.portfolio-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition-medium);
}

.portfolio-item:hover {
    transform: translateY(-5px);
}

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

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

.portfolio-placeholder svg {
    width: 60px;
    height: 60px;
    color: rgba(212, 175, 55, 0.5);
    transition: var(--transition-fast);
}

.portfolio-item:hover .portfolio-placeholder svg {
    color: var(--gold);
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(to top, rgba(10, 10, 15, 0.95) 0%, transparent 100%);
    transform: translateY(20px);
    opacity: 0;
    transition: var(--transition-fast);
    text-align: right;
}

.portfolio-item:hover .portfolio-overlay {
    transform: translateY(0);
    opacity: 1;
}

.portfolio-category {
    display: inline-block;
    background: var(--gold-gradient);
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--bg-dark);
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.portfolio-overlay h4 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--text-white);
}

/* ===== About Section ===== */
.about {
    padding: var(--section-padding);
    background: var(--bg-darker);
}

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

.about-text .section-badge {
    margin-bottom: 20px;
}

.about-text .section-title {
    text-align: right;
    margin-bottom: 30px;
}

.about-description {
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 2;
}

.about-stats {
    display: flex;
    gap: 50px;
    margin-top: 40px;
}

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

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* ===== Eye Graphic ===== */
.about-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.eye-graphic {
    position: relative;
}

.eye-outer {
    width: 300px;
    height: 150px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.2) 0%, rgba(184, 134, 11, 0.1) 100%);
    border: 2px solid var(--gold);
    border-radius: 50% / 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    animation: eyeBlink 4s ease-in-out infinite;
}

.eye-inner {
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, var(--gold-light) 0%, var(--gold-dark) 100%);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow:
        0 0 30px rgba(212, 175, 55, 0.5),
        inset 0 0 20px rgba(0, 0, 0, 0.3);
    animation: eyeGlow 2s ease-in-out infinite alternate;
}

.eye-pupil {
    width: 40px;
    height: 40px;
    background: var(--bg-dark);
    border-radius: 50%;
    position: relative;
}

.eye-pupil::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 8px;
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
}

@keyframes eyeBlink {

    0%,
    45%,
    55%,
    100% {
        transform: scaleY(1);
    }

    50% {
        transform: scaleY(0.1);
    }
}

@keyframes eyeGlow {
    from {
        box-shadow: 0 0 30px rgba(212, 175, 55, 0.5), inset 0 0 20px rgba(0, 0, 0, 0.3);
    }

    to {
        box-shadow: 0 0 50px rgba(212, 175, 55, 0.8), inset 0 0 20px rgba(0, 0, 0, 0.3);
    }
}

/* ===== Contact Section ===== */
.contact {
    padding: var(--section-padding);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 25px;
    height: 25px;
    color: var(--gold);
}

.contact-details h4 {
    font-size: 1.1rem;
    color: var(--text-white);
    margin-bottom: 5px;
}

.contact-details p {
    color: var(--text-muted);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-link {
    width: 50px;
    height: 50px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.social-link svg {
    width: 20px;
    height: 20px;
    color: var(--gold);
}

.social-link:hover {
    background: var(--gold-gradient);
    border-color: transparent;
}

.social-link:hover svg {
    color: var(--bg-dark);
}

/* ===== Contact Form ===== */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 18px 25px;
    background: var(--bg-card);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 15px;
    color: var(--text-light);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition-fast);
    outline: none;
    text-align: right;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23d4af37' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 20px center;
    background-size: 20px;
}

.form-group select option {
    background: var(--bg-card);
    color: var(--text-light);
}

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

/* ===== Footer ===== */
.footer {
    background: var(--bg-darker);
    padding: 60px 0 30px;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.footer-brand p {
    color: var(--text-muted);
    margin-top: 15px;
}

.footer-links {
    display: flex;
    gap: 40px;
}

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

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

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

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

/* ===== Animations ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition-slow);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Responsive Design ===== */
@media (max-width: 992px) {

    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .about-visual {
        order: -1;
    }

    .about-text .section-title {
        text-align: center;
    }

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

    .about-stats {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        left: -100%;
        width: 70%;
        height: 100vh;
        background: var(--bg-darker);
        flex-direction: column;
        justify-content: center;
        padding: 40px;
        transition: var(--transition-fast);
        box-shadow: 10px 0 30px rgba(0, 0, 0, 0.5);
    }

    .nav-links.active {
        left: 0;
    }

    .hamburger {
        display: flex;
        z-index: 1001;
    }

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

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

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

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

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

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

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

    .about-stats {
        flex-direction: column;
        gap: 30px;
    }

    .footer-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        padding: 0 20px;
    }

    .btn {
        width: 100%;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .service-card {
        padding: 40px 30px;
    }

    .eye-outer {
        width: 220px;
        height: 110px;
    }

    .eye-inner {
        width: 70px;
        height: 70px;
    }

    .eye-pupil {
        width: 30px;
        height: 30px;
    }
}

.title-line {
    padding-bottom: 0.2em;
    /* Adjust this value until the tail appears */
    padding-top: 0.1em;
}

.portfolio-video-preview {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Ensures the video fills the card */
    display: block;
    transition: transform 0.5s ease;
}

/* Specific styling for tall Social Media Reels */
.reel-format {
    aspect-ratio: 9 / 16;
}

.portfolio-item:hover .portfolio-video-preview {
    transform: scale(1.1);
}

.play-indicator {
    font-size: 2.5rem;
    color: #d4af37;
    /* Use your agency's gold color */
    margin-bottom: 10px;
    opacity: 0.8;
}

.portfolio-video-preview {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.portfolio-image {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 15px;
}

.portfolio-overlay {
    z-index: 2;
}

/* ===== Floating WhatsApp Button ===== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    transition: all 0.3s ease;
    animation: whatsappPulse 2s infinite;
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
    color: #fff;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

@keyframes whatsappPulse {
    0% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }

    50% {
        box-shadow: 0 4px 30px rgba(37, 211, 102, 0.7);
    }

    100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
    }

    .whatsapp-float svg {
        width: 28px;
        height: 28px;
    }
}

/* ===== Theater Mode Modal ===== */
.theater-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.theater-modal.active {
    opacity: 1;
    visibility: visible;
}

.theater-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    cursor: pointer;
}

.theater-close {
    position: absolute;
    top: 20px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: rgba(212, 175, 55, 0.2);
    border: 2px solid var(--gold);
    border-radius: 50%;
    color: var(--gold);
    font-size: 2rem;
    cursor: pointer;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    line-height: 1;
}

.theater-close:hover {
    background: var(--gold);
    color: var(--bg-dark);
    transform: rotate(90deg);
}

.theater-content {
    position: relative;
    z-index: 10001;
    max-width: 90vw;
    max-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.theater-modal.active .theater-content {
    transform: scale(1);
}

.theater-video,
.theater-image {
    max-width: 90vw;
    max-height: 80vh;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    display: none;
}

.theater-video.active,
.theater-image.active {
    display: block;
}

.theater-video {
    background: #000;
}

.theater-title {
    position: relative;
    z-index: 10001;
    margin-top: 20px;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--gold);
    text-align: center;
}

/* Theater video controls styling */
.theater-video::-webkit-media-controls-panel {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
}

/* Portfolio item click cursor */
.portfolio-item {
    cursor: pointer;
}

@media (max-width: 768px) {
    .theater-close {
        top: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }

    .theater-video,
    .theater-image {
        max-width: 95vw;
        max-height: 70vh;
        border-radius: 10px;
    }

    .theater-title {
        font-size: 1.2rem;
        padding: 0 20px;
    }
}

.logo img {
    height: 100px;
    /* Set the height you want on screen */
    width: auto;
    /* Let width adjust automatically */

    /* This ensures the image scales smoothly */
    object-fit: contain;
}

/* ===== Category Buttons Grid ===== */
.category-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.category-btn {
    background: var(--bg-card);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 20px;
    padding: 30px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    font-family: var(--font-body);
}

.category-btn:hover {
    background: var(--bg-card-hover);
    border-color: var(--gold);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.2);
}

.category-icon {
    width: 60px;
    height: 60px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.category-icon svg {
    width: 30px;
    height: 30px;
    color: var(--gold);
}

.category-btn:hover .category-icon {
    background: var(--gold-gradient);
}

.category-btn:hover .category-icon svg {
    color: var(--bg-dark);
}

.category-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-white);
    text-align: center;
}

/* ===== Showroom Modal ===== */
.showroom-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.showroom-modal.active {
    opacity: 1;
    visibility: visible;
}

.showroom-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
}

.showroom-container {
    position: relative;
    z-index: 10001;
    width: 100%;
    height: 100%;
    padding: 30px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.showroom-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding: 0 10px;
}

.showroom-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--gold);
    margin: 0;
}

.showroom-close {
    width: 50px;
    height: 50px;
    background: rgba(212, 175, 55, 0.2);
    border: 2px solid var(--gold);
    border-radius: 50%;
    color: var(--gold);
    font-size: 2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    line-height: 1;
}

.showroom-close:hover {
    background: var(--gold);
    color: var(--bg-dark);
    transform: rotate(90deg);
}

.showroom-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    padding: 10px;
    flex: 1;
}

.showroom-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(212, 175, 55, 0.1);
    background: none;
}

.showroom-item:hover {
    transform: translateY(-5px);
    border-color: var(--gold);
    box-shadow: 0 20px 50px rgba(212, 175, 55, 0.2);
}

.showroom-media {
    display: block;
    line-height: 0;
}

.showroom-media img,
.showroom-media video {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.showroom-item:hover .showroom-media img,
.showroom-item:hover .showroom-media video {
    transform: scale(1.05);
}

.showroom-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(212, 175, 55, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.showroom-item:hover .showroom-play-icon {
    opacity: 1;
}

.showroom-play-icon svg {
    width: 25px;
    height: 25px;
    color: var(--bg-dark);
    margin-right: -3px;
}

.showroom-info {
    padding: 20px;
}

.showroom-info h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--text-white);
    margin: 0;
}

.showroom-empty {
    text-align: center;
    padding: 80px 20px;
    color: var(--text-muted);
    font-size: 1.2rem;
}

/* Responsive Showroom */
@media (max-width: 768px) {
    .showroom-container {
        padding: 20px;
    }

    .showroom-header {
        margin-bottom: 25px;
    }

    .showroom-title {
        font-size: 1.8rem;
    }

    .showroom-close {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }

    .showroom-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 15px;
    }

    .category-buttons {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .category-btn {
        padding: 20px 15px;
    }

    .category-icon {
        width: 50px;
        height: 50px;
    }

    .category-icon svg {
        width: 24px;
        height: 24px;
    }

    .category-name {
        font-size: 0.95rem;
    }
}

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

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

/* Showroom file icon (for PDFs) */
.showroom-file {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(212, 175, 55, 0.1);
}

.showroom-file svg {
    width: 60px;
    height: 60px;
    color: var(--gold);
}

/* Showroom Loading State */
.showroom-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    gap: 20px;
}

.showroom-loading p {
    color: var(--gold);
    font-size: 1.2rem;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(212, 175, 55, 0.2);
    border-top-color: var(--gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}