@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;700&display=swap');

@font-face {
    font-family: 'shamel';
    src: url('../fonts/shamel.ttf');
}

@font-face {
    font-family: 'shamelbold';
    src: url('../fonts/shamelbold.ttf');
}

:root {
    --gold: #B7A05A;
    --green: #195e37;
    --dark-green: #0c4326;
    --light: #F8F9FA;
    --white: #FFFFFF;
    --dark: #1A191D;
    --dark-component: #2D2F35;
    --text-dark: #2D2F35;
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 20px 60px rgba(0, 0, 0, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: shamel, 'Inter', sans-serif;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: shamelbold, 'Playfair Display', serif;
}

.modern-body {
    background: var(--light);
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.light-theme {
    background-color: var(--light);
    color: var(--text-dark);
}

.light-theme .body-theme {
    background-color: var(--light);
    color: var(--text-dark);
}

.light-theme .bg-theme {
    background-color: var(--white);
    color: var(--text-dark);
}

.light-theme .component-theme {
    background-color: var(--white);
    color: var(--text-dark);
}

.light-theme .text-theme {
    color: var(--text-dark);
}

.light-theme .outline-theme {
    outline: none;
}

.light-theme .border-main {
    border: 1px solid var(--green);
}

.dark-theme {
    background-color: var(--dark);
    color: var(--light);
}

.dark-theme .modern-body {
    background: var(--dark);
}

.dark-theme .body-theme {
    background-color: var(--dark);
    color: var(--light);
}

.dark-theme .bg-theme {
    background-color: var(--dark-component);
    color: var(--light);
}

.dark-theme .component-theme {
    background-color: var(--dark-component);
    color: var(--light);
}

.dark-theme .text-theme {
    color: var(--light);
}

.dark-theme .border-theme {
    border: 1px solid var(--light);
}

.dark-theme .outline-theme {
    outline: 1px solid rgba(248, 249, 250, 0.2);
}

.dark-theme .border-main {
    border: 1px solid var(--gold);
}

.dark-theme .category-card-modern {
    background: var(--dark-component);
}

.dark-theme .branch-card,
.dark-theme .story-content,
.dark-theme .feature-item {
    background: var(--dark-component);
}

.dark-theme ::placeholder {
    color: rgba(248, 249, 250, 0.5);
}

.bg-main {
    background-color: var(--green);
    color: var(--white);
}

.text-gold {
    color: var(--gold) !important;
}

.btn-gold {
    color: var(--white) !important;
    background-color: var(--gold) !important;
}

.btn-outline-gold {
    color: var(--gold) !important;
    border-color: var(--gold) !important;
    background-color: transparent !important;
}

.btn-outline-gold:hover {
    background-color: var(--gold) !important;
    color: var(--white) !important;
}

.modern-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 5%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(25, 94, 55, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.modern-nav.scrolled {
    padding: 0.8rem 5%;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
}

.dark-theme .modern-nav {
    background: rgba(26, 25, 29, 0.95);
    border-bottom: 1px solid rgba(183, 160, 90, 0.2);
}

.dark-theme .modern-nav.scrolled {
    background: rgba(26, 25, 29, 0.98);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.nav-logo {
    width: auto;
    height: auto;
    border-radius: 50%;
    transition: transform 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    filter: drop-shadow(0 5px 15px rgba(183, 160, 90, 0.3));
}

.nav-logo:hover {
    transform: rotate(360deg) scale(1.1);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.lang-btn {
    padding: 0.5rem 1rem;
    border: 2px solid var(--gold);
    background: transparent;
    color: var(--gold);
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.lang-btn:hover,
.lang-btn.active {
    background: var(--gold);
    color: var(--white);
    transform: translateY(-2px);
}

.theme-toggle {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 2px solid var(--gold);
    background: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.dark-theme .theme-toggle {
    background: var(--dark-component);
}

.theme-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 20px rgba(183, 160, 90, 0.3);
}

.theme-icon-light {
    display: none;
}

.dark-theme .theme-icon-dark {
    display: none;
}

.dark-theme .theme-icon-light {
    display: block;
    color: var(--gold);
}

.theme-icon-dark {
    color: var(--gold);
}

.btn-gold-modern {
    padding: 0.7rem 1.8rem;
    background: var(--gold);
    color: var(--white);
    border: none;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(183, 160, 90, 0.3);
}

.btn-gold-modern:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(183, 160, 90, 0.5);
    color: var(--white);
}

.modern-hero {
    height: 100vh;
    min-height: 700px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--white);
    margin-bottom: 1rem;
    text-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    color: var(--gold);
    margin-bottom: 2.5rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    animation: fadeInUp 1s ease-out 0.2s backwards;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.4s backwards;
}

.btn-hero-primary,
.btn-hero-outline {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-hero-primary {
    background: var(--gold);
    color: var(--white);
    box-shadow: 0 10px 30px rgba(183, 160, 90, 0.4);
}

.btn-hero-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(183, 160, 90, 0.6);
    color: var(--white);
}

.btn-hero-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-hero-outline:hover {
    background: var(--white);
    color: var(--green);
    transform: translateY(-5px);
}

.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-20px);
    }

    60% {
        transform: translateX(-50%) translateY(-10px);
    }
}

.mouse {
    width: 25px;
    height: 40px;
    border: 2px solid var(--white);
    border-radius: 20px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--white);
    border-radius: 2px;
    animation: mouseScroll 2s infinite;
}

@keyframes mouseScroll {
    0% {
        opacity: 1;
        top: 8px;
    }

    100% {
        opacity: 0;
        top: 20px;
    }
}

.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
    box-shadow: 0 5px 25px rgba(37, 211, 102, 0.5);
    z-index: 999;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 35px rgba(37, 211, 102, 0.7);
    color: var(--white);
}

.container-modern {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-tag {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: linear-gradient(135deg, var(--gold), var(--green));
    color: var(--white);
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.section-title {
    font-size: 1.5rem;
    color: var(--green);
    margin-bottom: 1rem;
    font-weight: 900;
}

.dark-theme .section-title {
    color: var(--gold);
}

.categories-section {
    padding: 8rem 0;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.category-card-modern {
    position: relative;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    background: var(--white);
    box-shadow: var(--shadow);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: block;
}

.category-card-modern:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-hover);
}

.category-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.category-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.category-card-modern:hover .category-image {
    transform: scale(1.1);
}

.category-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(to top, rgba(25, 94, 55, 0.95), transparent);
    transition: all 0.5s ease;
}

.category-card-modern:hover .category-gradient {
    background: linear-gradient(to top, rgba(183, 160, 90, 0.95), rgba(25, 94, 55, 0.5));
}

.category-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.category-name {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    transition: transform 0.3s ease;
}

.category-card-modern:hover .category-name {
    transform: translateX(10px);
}

.category-arrow {
    color: var(--white);
    font-size: 2rem;
    font-weight: 300;
    transition: transform 0.3s ease;
}

.category-card-modern:hover .category-arrow {
    transform: translateX(10px);
}

.about-section {
    padding: 8rem 0;
    background: var(--light);
}

.dark-theme .about-section {
    background: var(--dark);
}

.story-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 4rem;
}

.story-row.story-reverse {
    direction: rtl;
}

.story-row.story-reverse>* {
    direction: ltr;
}

.story-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.story-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.story-image:hover img {
    transform: scale(1.05);
}

.story-content {
    padding: 1.8rem;
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.story-title {
    font-size: 1.5rem;
    color: var(--gold);
    line-height: 2.5rem;
    margin-bottom: 1rem;
}

.story-text {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.dark-theme .story-text {
    color: var(--light);
}

.features-section {
    padding: 8rem 0;
    background: var(--white);
}

.dark-theme .features-section {
    background: var(--dark-component);
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.feature-item {
    display: flex;
    gap: 1.5rem;
    padding: 2rem;
    background: var(--white);
    border-radius: 15px;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-hover);
}

.feature-icon {
    width: 60px;
    height: 60px;
    min-width: 60px;
    background: linear-gradient(135deg, var(--gold), var(--green));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
}

.feature-title {
    font-size: 1.3rem;
    color: var(--green);
    margin-bottom: 0.5rem;
}

.dark-theme .feature-title {
    color: var(--gold);
}

.feature-text {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-dark);
}

.dark-theme .feature-text {
    color: var(--light);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.gallery-section {
    padding: 8rem 0;
    background: var(--light);
}

.dark-theme .gallery-section {
    background: var(--dark);
}

[dir="rtl"] .modal-header {
    flex-direction: row-reverse;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.gallery-item {
    position: relative;
    height: 350px;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-image {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(25, 94, 55, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay span {
    color: var(--white);
    font-size: 3rem;
}

.branches-section {
    padding: 8rem 0;
    background: var(--white);
}

.dark-theme .branches-section {
    background: var(--dark-component);
}

.branch-card {
    background: var(--white);
    border-radius: 20px;
    padding: 3rem;
    margin-bottom: 3rem;
    box-shadow: var(--shadow);
}

.branch-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--gold);
}

.branch-name {
    font-size: 2rem;
    color: var(--gold);
}

.branch-brands {
    display: flex;
    gap: 1rem;
}

.branch-brands img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.branch-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2rem;
}

.branch-map {
    border-radius: 15px;
    overflow: hidden;
    height: 400px;
}

.branch-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.branch-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.5rem;
    background: var(--light);
    border-radius: 10px;
}

.dark-theme .info-item {
    background: var(--dark);
}

.info-item .fa {
    color: var(--gold);
    font-size: 1.5rem;
}

.info-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.info-item p {
    margin: 0;
    font-size: 0.9rem;
}

.branch-services {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--light);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.dark-theme .service-item {
    background: var(--dark);
}

.service-item:hover {
    transform: translateX(5px);
    background: var(--gold);
    color: var(--white);
}

.service-item img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.contact-section {
    padding: 8rem 0;
    background: linear-gradient(135deg, var(--green), var(--dark-green));
    color: var(--white);
}

.contact-section .section-title {
    color: var(--white);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
}

.contact-form {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: var(--white);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    background: rgba(255, 255, 255, 0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.btn-submit {
    width: 100%;
    padding: 1.2rem;
    background: var(--gold);
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(183, 160, 90, 0.5);
}

.contact-social {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.social-brand {
    text-align: center;
}

.social-brand img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-links a {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 1.3rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-links a:hover {
    background: var(--gold);
    color: var(--white);
    transform: translateY(-5px);
}

.modern-footer {
    padding: 2rem 5%;
    background: var(--dark-green);
    color: var(--white);
    text-align: center;
}

.modern-footer p {
    margin: 0;
    font-size: 1rem;
}

@media (max-width: 1200px) {

    .features-grid,
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .branch-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .modern-nav {
        padding: 1rem 3%;
    }

    .nav-actions {
        gap: 0.5rem;
    }

    .lang-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }

    .btn-gold-modern {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }

    .categories-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .story-row {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        bottom: 1rem;
        right: 1rem;
    }
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/main.jpg') center/cover;
    opacity: 0.3;
    animation: subtleZoom 20s ease-in-out infinite alternate;
}

@keyframes subtleZoom {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.1);
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 50%, rgba(183, 160, 90, 0.2), transparent 60%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 2rem;
    max-width: 900px;
    margin: 0 auto;
}