/* Base & Typography */
:root {
    --primary-color: #0f172a;
    /* Deep Navy Blue */
    --primary-dark: #020617;
    /* Darker Navy */
    --secondary-color: #334155;
    /* Slate Grey */
    --accent-color: #3b82f6;
    /* Bright Blue */
    --text-dark: #1e293b;
    /* Slate 800 */
    --text-light: #64748b;
    /* Slate 500 */
    --white: #FFFFFF;
    --light-bg: #f8fafc;
    /* Very light blue-grey */
    --transition: all 0.3s ease;
    --shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center {
    text-align: center;
}

.mt-5 {
    margin-top: 5rem;
}

.section {
    padding: 100px 0;
}

.section-subtitle {
    font-family: 'Outfit', sans-serif;
    color: var(--primary-color);
    letter-spacing: 3px;
    font-size: 0.9rem;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.section-desc {
    color: var(--text-light);
    margin-bottom: 2rem;
    max-width: 600px;
    font-size: 1.1rem;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
}

.btn-outline {
    border-color: var(--white);
    color: var(--white);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--text-dark);
}

.btn-dark {
    background-color: var(--text-dark);
    color: var(--white);
}

.btn-dark:hover {
    background-color: var(--primary-color);
}

.btn-admin {
    padding: 8px 20px;
    background-color: rgba(0, 0, 0, 0.05);
    border-radius: 20px;
    font-size: 0.9rem;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
    color: var(--white);
    /* Default to white for Hero */
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    padding: 15px 0;
    color: var(--text-dark);
    /* Switch to dark when scrolled */
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
    letter-spacing: 1px;
    color: inherit;
    /* Inherit from navbar */
    text-transform: uppercase;
}

.logo span {
    color: var(--accent-color);
    /* Bright blue accent */
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
    color: inherit;
    /* Inherit from navbar */
    opacity: 0.9;
}

.nav-links a:not(.btn-admin):hover,
.nav-links a.active {
    color: var(--accent-color);
    opacity: 1;
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: inherit;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    color: var(--white);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Lighter blue overlay for better visibility */
    background: linear-gradient(rgba(15, 23, 42, 0.6), rgba(15, 23, 42, 0.4)), url('https://images.unsplash.com/photo-1565538810643-b5bdb714032a?q=80&w=2134&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    z-index: -1;
    animation: zoom 20s infinite alternate;
}

@keyframes zoom {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.1);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 60px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    /* Add shadow for readability */
}

.hero h1 {
    font-size: 5rem;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero h1 span {
    color: var(--white);
    /* Keep white or use a very light blue */
    font-style: italic;
    border-bottom: 3px solid var(--accent-color);
}

.hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin-bottom: 40px;
    opacity: 1;
    /* Full opacity */
    font-weight: 300;
}

.hero-btns {
    display: flex;
    gap: 20px;
}

/* Hero Button Overrides */
.hero .btn-primary {
    background-color: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--white);
}

.hero .btn-primary:hover {
    background-color: transparent;
    color: var(--white);
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--white);
    border-radius: 15px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background-color: var(--primary-color);
    border-radius: 50%;
    animation: scroll 1.5s infinite;
}

@keyframes scroll {
    0% {
        opacity: 1;
        top: 10px;
    }

    100% {
        opacity: 0;
        top: 30px;
    }
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0) translateX(-50%);
    }

    40% {
        transform: translateY(-10px) translateX(-50%);
    }

    60% {
        transform: translateY(-5px) translateX(-50%);
    }
}

/* About Section */
.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col-5 {
    flex: 0 0 41.666667%;
    max-width: 41.666667%;
    padding: 0 15px;
}

.col-6 {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 0 15px;
}

.col-7 {
    flex: 0 0 58.333333%;
    max-width: 58.333333%;
    padding: 0 15px;
}

.about-img-wrapper {
    position: relative;
    padding-right: 50px;
}

.about-img {
    border-radius: 5px;
    box-shadow: var(--shadow);
}

.experience-badge {
    position: absolute;
    bottom: -30px;
    right: 20px;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 30px;
    text-align: center;
    border-radius: 5px;
    box-shadow: 0 10px 20px rgba(176, 137, 104, 0.4);
}

.experience-badge .year {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}

.experience-badge .text {
    font-size: 0.9rem;
    text-transform: uppercase;
}

.about-text {
    padding-left: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.feature-item i {
    color: var(--primary-color);
}

/* Products Section */
.products {
    background-color: var(--light-bg);
}

.separator {
    height: 3px;
    width: 70px;
    background-color: var(--primary-color);
    margin: 20px auto 50px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
}

.product-img {
    height: 250px;
    width: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-img {
    transform: scale(1.05);
}

.product-info {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-category {
    font-size: 0.8rem;
    color: var(--primary-color);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.product-info h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.product-info p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 20px;
    flex-grow: 1;
}

.product-link {
    color: var(--text-dark);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.product-link:hover {
    color: var(--primary-color);
}

/* Why Choose Us */
.why-choose-us {
    background-color: var(--secondary-color);
    color: var(--white);
    position: relative;
}

.text-white {
    color: var(--white);
}

.text-white-muted {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    padding: 30px 20px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-card h3 {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 5px;
}

/* Contact */
.info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.info-item .icon {
    width: 50px;
    height: 50px;
    background-color: var(--light-bg);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary-color);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.info-item h5 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.info-item p {
    color: var(--text-light);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 40px;
}

.social-links a {
    width: 45px;
    height: 45px;
    background-color: var(--text-dark);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.contact-form-wrapper {
    background-color: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid #E0E0E0;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Footer */
.footer {
    background-color: #1a1a1a;
    color: #888;
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-links a {
    margin-left: 20px;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--white);
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 991px) {
    .section-title {
        font-size: 2.5rem;
    }

    .hero h1 {
        font-size: 3.5rem;
    }

    .hero-btns {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .hero .btn {
        width: 100%;
        text-align: center;
        max-width: 300px;
    }

    .row {
        flex-direction: column;
    }

    .col-5,
    .col-6,
    .col-7 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .about-img-wrapper {
        margin-bottom: 50px;
        padding-right: 0;
    }

    .about-text {
        padding-left: 0;
    }

    .contact-form-wrapper {
        margin-top: 50px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background-color: var(--white);
        flex-direction: column;
        justify-content: center;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: var(--transition);
        color: var(--text-dark);
        /* Force dark text on mobile menu */
    }

    .nav-links.active {
        right: 0;
    }

    .hamburger {
        display: block;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .section {
        padding: 60px 0;
        /* Reduce padding on mobile */
    }

    .section-title {
        font-size: 2rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }
}

/* Language Switcher */
.lang-dropdown {
    position: relative;
    display: inline-block;
}

.lang-btn {
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: inherit;
    padding: 5px 12px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition);
}

.lang-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.navbar.scrolled .lang-btn {
    border-color: rgba(0, 0, 0, 0.1);
}

.navbar.scrolled .lang-btn:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.lang-content {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    background-color: var(--white);
    min-width: 120px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    z-index: 1001;
    overflow: hidden;
    margin-top: 0;
}

/* Bridge on parent to prevent closing */
.lang-dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 10px;
    background: transparent;
}

.lang-dropdown:hover .lang-content {
    display: block;
}

.lang-content a {
    color: var(--text-dark) !important;
    padding: 10px 15px;
    text-decoration: none;
    display: block;
    font-size: 0.9rem;
    transition: var(--transition);
    opacity: 1 !important;
}

.lang-content a:hover {
    background-color: var(--light-bg);
    color: var(--accent-color) !important;
}

.lang-content a.active {
    font-weight: 700;
    color: var(--primary-color) !important;
    background-color: rgba(59, 130, 246, 0.05);
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .lang-dropdown {
        margin: 10px 0;
    }

    .lang-content {
        position: static;
        box-shadow: none;
        background-color: rgba(0, 0, 0, 0.03);
        margin-top: 5px;
        display: none;
    }

    .lang-dropdown.active .lang-content {
        display: block;
    }

    .lang-btn {
        border-color: rgba(0, 0, 0, 0.1);
        width: 100%;
        justify-content: center;
    }
}

/* Floating WhatsApp Button */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 35px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    transition: var(--transition);
}

.floating-whatsapp:hover {
    transform: scale(1.1);
    background-color: #128c7e;
    color: #fff;
}

@media (max-width: 768px) {
    .floating-whatsapp {
        width: 50px;
        height: 50px;
        font-size: 30px;
        bottom: 20px;
        right: 20px;
    }
}