/* ==================== VARIABLES ====================
--primary: #2c5d7c;
--secondary: #4a9bc7;
--accent: #e8a849;
*/
:root {
    --primary: #2f3d4a;
    --primary-dark: #1a3d54;
    --secondary: #2f3d4a;
    --accent: #b0aa86;
    --dark: #2f3d4a;
    --light: #f8f9fa;
    --white: #ffffff;
    --gray: #6c757d;
    --gray-light: #e9ecef;
    --shadow: 0 4px 20px rgba(0,0,0,0.1);
    --radius: 8px;
    --transition: 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark);
    background: var(--white);
}

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

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

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ==================== HEADER & NAVBAR ==================== */
.header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.header-top {
    background: var(--dark);
    color: var(--white);
    padding: 8px 0;
    font-size: 14px;
}

.header-top .container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 20px;
}

.header-top a {
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 5px;
}

.header-top a:hover {
    color: var(--accent);
}

.header-main {
    background: var(--white);
    padding: 15px 0;
}

.header-main .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
}

.logo i {
    font-size: 28px;
    color: var(--accent);
}

.nav-menu {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-menu li {
    position: relative;
}

.nav-menu > li > a {
    font-weight: 600;
    padding: 10px 0;
    display: block;
    color: var(--dark);
}

.nav-menu > li > a:hover,
.nav-menu > li > a.active {
    color: var(--primary);
}

.nav-menu li:hover .submenu {
    display: block;
}

.submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    box-shadow: var(--shadow);
    border-radius: var(--radius);
    min-width: 200px;
    padding: 10px 0;
    z-index: 100;
}

.submenu li a {
    display: block;
    padding: 10px 20px;
    color: var(--dark);
}

.submenu li a:hover {
    background: var(--gray-light);
    color: var(--primary);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--dark);
    border-radius: 2px;
    transition: var(--transition);
}

/* ==================== HERO / SLIDER ==================== */
.hero {
    margin-top: 110px;
    position: relative;
    overflow: hidden;
}

.slider {
    position: relative;
    height: 500px;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(0,0,0,0.5);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 10;
}

.slider-nav:hover {
    background: var(--primary);
}

.slider-nav.prev {
    left: 20px;
}

.slider-nav.next {
    right: 20px;
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.slider-dots button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--white);
    background: transparent;
    cursor: pointer;
    transition: var(--transition);
}

.slider-dots button.active {
    background: var(--accent);
    border-color: var(--accent);
}

/* ==================== SECTIONS ==================== */
.section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h1 {
    font-size: 36px;
    color: var(--primary);
    margin-bottom: 10px;
}

.section-title p {
    color: var(--gray);
    font-size: 18px;
}

/* About Section */
.about-section {
    background: var(--gray-light);
}

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

.about-image {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.about-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.about-text h2 {
    color: var(--primary);
    font-size: 28px;
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 15px;
    color: var(--gray);
}

.cta-button {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    padding: 12px 30px;
    border-radius: var(--radius);
    font-weight: 600;
    margin-top: 20px;
    transition: var(--transition);
}

.cta-button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.howDo{
    margin-top: 10px;
}

/* ==================== GALLERY / PRODUCTS GRID ==================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    padding: 20px 0;
}

.gallery-item {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.gallery-item .info {
    padding: 20px;
    text-align: center;
}

.gallery-item h3 {
    color: var(--primary);
    font-size: 18px;
    margin-bottom: 10px;
}

.gallery-item a {
    color: var(--secondary);
    font-weight: 600;
}

.gallery-item a:hover {
    color: var(--accent);
}

/* ==================== FEATURES / ADVANTAGES ==================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.feature-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    border-top: 4px solid var(--accent);
}

.feature-card i {
    font-size: 40px;
    color: var(--primary);
    margin-bottom: 15px;
}

.feature-card h3 {
    color: var(--dark);
    font-size: 18px;
    margin-bottom: 10px;
}

.feature-card p {
    color: var(--gray);
    font-size: 14px;
}

/* ==================== PRODUCT DETAIL ==================== */
.product-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.product-images {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
}

.product-images img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.product-info h1 {
    color: var(--primary);
    font-size: 32px;
    margin-bottom: 20px;
}

.product-info .subtitle {
    color: var(--gray);
    font-size: 18px;
    margin-bottom: 20px;
}

.product-description {
    margin-top: 30px;
}

.product-description h2 {
    color: var(--primary);
    font-size: 24px;
    margin-bottom: 15px;
}

.product-description p {
    color: var(--gray);
    margin-bottom: 15px;
}

.product-description ul {
    margin: 20px 0;
    padding-left: 20px;
}

.product-description ul li {
    margin-bottom: 10px;
    color: var(--gray);
    list-style: disc;
}

.product-description ul li strong {
    color: var(--dark);
}

/* ==================== CONTACT FORM ==================== */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

.contact-form {
    background: var(--gray-light);
    padding: 30px;
    border-radius: var(--radius);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: var(--dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--gray);
    border-radius: var(--radius);
    font-size: 16px;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

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

.contact-info {
    padding: 20px;
}

.contact-info h3 {
    color: var(--primary);
    font-size: 24px;
    margin-bottom: 20px;
}

.contact-info p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-info i {
    color: #fff;
    font-size: 20px;
}

.submit-btn {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 15px 40px;
    border-radius: var(--radius);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.submit-btn:hover {
    background: var(--primary-dark);
}

/* ==================== FOOTER ==================== */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 40px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h4 {
    color: var(--accent);
    font-size: 18px;
    margin-bottom: 15px;
}

.footer-section p,
.footer-section a {
    color: var(--gray-light);
    font-size: 14px;
    line-height: 1.8;
}

.footer-section a:hover {
    color: var(--accent);
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section ul li a {
    display: flex;
    align-items: center;
    gap: 8px;
}

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

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--accent);
    transform: translateY(-3px);
    color: #fff;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 14px;
    color: var(--gray);
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 992px) {
    .about-content,
    .product-gallery,
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .slider {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .header-top {
        display: none;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        transition: var(--transition);
        box-shadow: var(--shadow);
    }

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

    .nav-menu > li {
        width: 100%;
    }

    .nav-menu > li > a {
        padding: 15px;
        border-bottom: 1px solid var(--gray-light);
    }

    .submenu {
        position: static;
        box-shadow: none;
        padding-left: 20px;
    }

    .submenu li a {
        padding: 10px;
    }

    .menu-toggle {
        display: flex;
    }

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

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

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .slider {
        height: 300px;
    }

    .slider-nav {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .section-title h1 {
        font-size: 28px;
    }

    .product-images img {
        height: 250px;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    }

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

@media (max-width: 480px) {
    .logo {
        font-size: 18px;
    }

    .slider {
        height: 250px;
    }

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

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

    .contact-wrapper {
        gap: 20px;
    }

    .contact-form {
        padding: 20px;
    }
}