:root {
    --primary: #2C3E50;
    --secondary: #18BC9C;
    --light: #f8f9fa;
    --dark: #212529;
    --white: #ffffff;
    --gray: #6c757d;
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--primary);
    line-height: 1.6;
    background-color: var(--white);
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--secondary);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #128f76;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(24, 188, 156, 0.4);
}

.btn-blue {
    background-color: #42A5F5;
    color: var(--white);
    border-color: #42A5F5;
}

.btn-blue:hover {
    background-color: #1976D2;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(66, 165, 245, 0.4);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--white);
    color: var(--white);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--primary);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    text-transform: uppercase;
    color: var(--primary);
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--secondary);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--primary);
    padding: 15px 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-link-cta {
    border: 1px solid var(--secondary);
    border-radius: 999px;
    padding: 8px 20px;
}

.nav-link-cta:hover {
    background-color: var(--secondary);
    color: var(--white);
}

.nav-link {
    color: var(--white);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.nav-link:not(.nav-link-cta):hover {
    color: var(--secondary);
}

.mobile-toggle {
    display: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

.nav-item {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--primary);
    min-width: 220px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    border-radius: 8px;
    z-index: 1001;
    list-style: none;
    padding: 10px 0;
    margin: 0;
}

.nav-item.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-item {
    display: block;
    padding: 12px 20px;
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.dropdown-item:hover {
    background-color: var(--secondary);
    color: var(--white);
}

.dropdown-toggle {
    pointer-events: auto;
}

/* Mobile dropdown handling */
@media (max-width: 768px) {
    .dropdown-menu {
        position: static;
        display: none;
        background-color: transparent;
        box-shadow: none;
        padding-left: 20px;
        margin-top: 5px;
    }
    
    .nav-menu .dropdown:hover .dropdown-menu {
        display: none;
    }
    
    /* JS will handle mobile toggle */
}

/* Hero Section */
.hero {
    background-color: var(--secondary);
    color: var(--white);
    padding: 160px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-content img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    /* Ensures the image covers the area without distortion */
    border-radius: 50%;
    margin: 0 auto 30px;
    border: 8px solid rgba(255, 255, 255, 0.2);
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.hero p {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 40px;
}

/* Products Section */
.products {
    padding: 100px 0;
    background-color: var(--light);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.product-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    text-align: center;
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.product-card:hover {
    transform: translateY(-10px);
}

.product-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(24, 188, 156, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    color: var(--secondary);
    font-size: 2rem;
}

.remember-card .product-icon {
    background-color: rgba(66, 165, 245, 0.1);
    color: #42A5F5;
}

.product-card h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--primary);
}

.product-card p {
    color: var(--gray);
    margin-bottom: 30px;
    flex-grow: 1;
}

/* Services Section */
.services {
    padding: 100px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-item {
    text-align: center;
    padding: 30px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.service-item:hover {
    background-color: var(--light);
}

.service-img {
    height: 150px;
    width: auto;
    margin: 0 auto 20px;
    object-fit: contain;
}

.service-item h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    text-transform: uppercase;
}

/* About Section */
.about {
    padding: 100px 0;
    background-color: var(--primary);
    color: var(--white);
}

.about .section-title h2 {
    color: var(--white);
}

.about .section-title h2::after {
    background-color: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    font-size: 1.1rem;
}

/* Footer */
.footer {
    background-color: #233140;
    color: var(--white);
    padding: 60px 0 30px;
    text-align: center;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer h3 {
    font-size: 1.2rem;
    text-transform: uppercase;
    margin-bottom: 25px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-btn {
    width: 40px;
    height: 40px;
    border: 2px solid var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all 0.3s ease;
}

.social-btn:hover {
    background-color: var(--white);
    color: var(--primary);
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: center;
    }

    .nav-menu {
        display: none;
        /* Simplified for now, would need JS for mobile menu */
    }

    .mobile-toggle {
        display: block;
    }
}

/* Button group for product cards */
.button-group {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-secondary {
    background-color: var(--primary);
    color: var(--white);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background-color: transparent;
    color: var(--primary);
}

/* Gallery Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    position: relative;
    background-color: #1a1a1a;
    margin: 5% auto;
    padding: 0;
    border-radius: 10px;
    width: 90%;
    max-width: 1000px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    animation: slideIn 0.3s ease;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    right: 20px;
    top: 15px;
    cursor: pointer;
    z-index: 10;
}

.close:hover,
.close:focus {
    color: #fff;
    text-decoration: none;
}

.gallery-container {
    padding: 20px;
}

.main-image {
    text-align: center;
    margin-bottom: 20px;
}

.main-image img {
    max-width: 100%;
    max-height: 70vh;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.thumbnail-container {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 20px;
    max-height: 120px;
    overflow-y: auto;
}

.thumbnail {
    width: 100px;
    height: 80px;
    object-fit: cover;
    border-radius: 5px;
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.thumbnail:hover {
    opacity: 1;
    transform: scale(1.05);
}

.thumbnail.active {
    opacity: 1;
    border-color: var(--secondary);
    transform: scale(1.05);
}

.gallery-nav {
    display: flex;
    justify-content: space-between;
}

.nav-btn {
    background-color: var(--primary);
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 18px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.nav-btn:hover {
    background-color: var(--secondary);
}

@keyframes fadeIn {
    from {opacity: 0;}
    to {opacity: 1;}
}

@keyframes slideIn {
    from {transform: translateY(-50px); opacity: 0;}
    to {transform: translateY(0); opacity: 1;}
}

/* Hide scrollbar for thumbnail container */
.thumbnail-container::-webkit-scrollbar {
    height: 8px;
}

.thumbnail-container::-webkit-scrollbar-track {
    background: #2d2d2d;
    border-radius: 4px;
}

.thumbnail-container::-webkit-scrollbar-thumb {
    background: var(--secondary);
    border-radius: 4px;
}
