/* ===================================
   BENQUIN.PH - Modern Elegant Design
   =================================== */

/* CSS Variables */
:root {
    /* Colors - Sophisticated palette with deep blues and warm accents */
    --primary: #4b5563;
    --primary-light: #6b7280;
    --primary-dark: #0f2738;
    --secondary: #d4a574;
    --secondary-light: #e8c9a0;
    --accent: #c17a4f;
    --text-dark: #1f2937;
    --text-medium: #4b5563;
    --text-light: #6b7280;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border: #e5e7eb;
    --shadow: rgba(26, 58, 82, 0.08);
    --shadow-medium: rgba(26, 58, 82, 0.12);
    --shadow-strong: rgba(26, 58, 82, 0.2);
    
    /* Typography */
    --font-serif: 'Open Sans', sans-serif;
    --font-sans: 'Open Sans', sans-serif;
    
    /* Spacing */
    --container-width: 1200px;
    --section-padding: 5rem;
    --card-radius: 4px;
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-dark);
    background: var(--bg-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 600;
    line-height: 1.3;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.75rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }

p {
    margin-bottom: 1.25rem;
    color: var(--text-medium);
}

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

a:hover {
    color: var(--secondary);
}

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

/* Container */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navigation Wrapper */
.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo-section {
    flex-shrink: 0;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    transition: var(--transition);
}

.logo-link:hover {
    opacity: 0.8;
}

.site-logo {
    height: 60px;
    width: auto;
    display: block;
}

.logo-text {
    font-size: 1.1rem;
    font-weight: 700;
    color: #e31e24;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

/* Navigation */
.main-nav {
    background: var(--bg-white);
    box-shadow: 0 2px 8px var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0.75rem 0;
}

.main-nav .container {
    display: flex;
    align-items: center;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--primary);
    margin: 5px 0;
    transition: var(--transition);
}

.nav-menu {
    display: flex;
    list-style: none;
    justify-content: flex-end;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
}

.nav-menu > li {
    position: relative;
}

.nav-menu > li > a {
    display: block;
    padding: 1.25rem 1rem;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.02em;
    transition: var(--transition);
    white-space: nowrap;
}

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

/* Dropdown Menus */
.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 240px;
    list-style: none;
    box-shadow: 0 4px 20px var(--shadow-medium);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    border-top: 2px solid var(--secondary);
}

.has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown li a {
    display: block;
    padding: 0.875rem 1.5rem;
    color: var(--text-dark);
    font-size: 0.9rem;
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
    text-transform: none;
}

.dropdown li:last-child a {
    border-bottom: none;
}

.dropdown li a:hover {
    background: var(--bg-light);
    color: var(--primary);
    padding-left: 2rem;
}


/* Hero Slider */
.hero-slider {
    position: relative;
    height: 500px;
    overflow: hidden;
    background: var(--bg-light);
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 3s ease-in-out;
    display: flex;
    align-items: stretch;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

.slide-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4rem;
    background: rgb(109, 122, 144);
    z-index: 2;
    overflow-y: auto;
}

.slide-image-wrapper {
    flex: 1;
    overflow: hidden;
    background: var(--bg-light);
}

.slide-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
}

.slide-content h2 {
    --primary-dark: #ffffff; 
    color: var(--primary-dark);
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: none;
}

.slide-content p {
     --primary-dark: #ffffff; 
    color: var(--primary-dark);
    font-size: 1.25rem;
    margin-bottom: 2rem;
    text-shadow: none;
}

.slider-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.75rem;
    z-index: 3;
    background: rgba(65, 93, 133, 0.3);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.dot.active {
    background: var(--secondary);
    border-color: white;
    transform: scale(1.2);
}

/* Buttons */
.btn {
    display: inline-block;
    width: 300px;
    height: 60px;
  
    padding: 0.875rem 2rem;
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.03em;
    text-align: center;
    cursor: pointer;
    border: none;
    border-radius: var(--card-radius);
    transition: var(--transition);
    text-decoration: none;
}

.btn-primary {
    background: #90b9e0;
    color: white;
    box-shadow: 0 2px 8px var(--shadow);
}

.btn-primary:hover {
    background: #696969;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px var(--shadow-medium);
}

.btn-secondary {
    background: #a9a9a9;
    color: white;
    box-shadow: 0 2px 8px var(--shadow);
}

.btn-secondary:hover {
    background: #909090;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px var(--shadow-medium);
}

.btn-outline {
    background: transparent;
    color: #808080;
    border: 2px solid #808080;
}

.btn-outline:hover {
    background: #808080;
    color: white;
}

/* Sections */
section {
    padding: var(--section-padding) 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    position: relative;
    display: inline-block;
    padding-bottom: 1rem;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary) 0%, var(--accent) 100%);
}

.section-header p {
    max-width: 700px;
    margin: 1.5rem auto 0;
    font-size: 1.1rem;
    color: var(--text-medium);
}

/* Welcome Section */
.welcome-section {
    background: var(--bg-light);
}

.welcome-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.welcome-text h2 {
    margin-bottom: 1.5rem;
}

.welcome-image {
    position: relative;
    border-radius: var(--card-radius);
    overflow: hidden;
    box-shadow: 0 8px 32px var(--shadow-medium);
}

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

.welcome-image::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 200px;
    height: 200px;
    background: var(--secondary);
    opacity: 0.15;
    border-radius: 50%;
    z-index: -1;
}

/* Product Cards */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.product-card {
    background: white;
    border-radius: var(--card-radius);
    overflow: hidden;
    box-shadow: 0 2px 12px var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px var(--shadow-medium);
}

.product-image {
    position: relative;
    height: 240px;
    overflow: hidden;
    background: var(--bg-light);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: var(--transition);
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--secondary);
    color: var(--primary-dark);
    padding: 0.4rem 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: 2px;
}

.product-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-category {
    font-size: 0.8rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.5rem;
}

.product-card h3 {
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
    color: var(--primary-dark);
}

.product-description {
    color: var(--text-medium);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex: 1;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.variants-count {
    font-size: 0.85rem;
    color: var(--text-light);
}

.btn-view {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
}

/* Category Cards */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.category-card {
    background: white;
    padding: 2rem;
    border-radius: var(--card-radius);
    border: 2px solid var(--border);
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
}

.category-card:hover {
    border-color: var(--secondary);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px var(--shadow);
}

.category-icon {
    width: auto;
    height: auto;
    margin: 0 auto 1.5rem;
    background: transparent;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.75rem;
    font-weight: 700;
    overflow: visible;
}

.category-icon-image {
    width: auto;
    height: 80px;
    object-fit: contain;
    display: block;
}

.category-icon-letter {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.category-card h3 {
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.category-card p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* FAQ Section */
.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    margin-bottom: 1.5rem;
    border-radius: var(--card-radius);
    box-shadow: 0 2px 8px var(--shadow);
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--primary-dark);
    transition: var(--transition);
    font-family: var(--font-serif);
    font-size: 1.1rem;
}

.faq-question:hover {
    background: var(--bg-light);
}

.faq-toggle {
    width: 24px;
    height: 24px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    transition: var(--transition);
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
    background: var(--secondary);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 1.5rem 1.5rem;
    max-height: 500px;
}

/* Map Section */
.map-container {
    border-radius: var(--card-radius);
    overflow: hidden;
    box-shadow: 0 4px 20px var(--shadow-medium);
    height: 450px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-dark);
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
select,
textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--border);
    border-radius: var(--card-radius);
    font-family: var(--font-sans);
    font-size: 1rem;
    transition: var(--transition);
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26, 58, 82, 0.1);
}

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

/* Footer */
.site-footer {
    /* background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%); */
    background: #d3d3d3;
    color: #1f2937;
    padding: 4rem 0 2rem;
    margin-top: 5rem;
}

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

.footer-column h3,
.footer-column h4 {
    color: #1f2937;
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

.footer-text {
    color: #1f2937;
    line-height: 1.7;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--secondary);
    transform: translateY(-3px);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #1f2937;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--secondary-light);
    padding-left: 0.5rem;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-detail {
    display: flex;
    gap: 0.75rem;
    color: #1f2937;
    line-height: 1.6;
}

.contact-detail .icon {
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.footer-bottom {
    border-top: 1px solid rgba(0,0,0,0.1);
    padding-top: 2rem;
    text-align: center;
    font-size: 0.9rem;
    color: #1f2937;
}

.footer-disclaimer {
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: #868a90;
}

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

.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

/* Responsive Design */
@media (max-width: 968px) {
    :root {
        --section-padding: 3rem;
    }
    
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.5rem; }
    
    .header-content {
        flex-direction: column;
        text-align: center;
    }
    
    .header-contact {
        justify-content: center;
    }
    
    .mobile-menu-toggle {
        display: block;
        position: relative;
        z-index: 1001;
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
    
    .nav-wrapper {
        flex-direction: column;
        align-items: stretch;
    }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        align-items: stretch;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease;
        box-shadow: 0 4px 12px var(--shadow);
        z-index: 1000;
        justify-content: flex-start;
    }
    
    .nav-menu.active {
        max-height: 100vh;
        overflow-y: auto;
    }
    
    .nav-menu > li > a {
        border-bottom: 1px solid var(--border);
        padding: 1rem 1.5rem;
    }
    
    .nav-menu > li.has-dropdown > a::after {
        content: '▼';
        font-size: 0.7rem;
        margin-left: 0.5rem;
        transition: transform 0.3s ease;
    }
    
    .nav-menu > li.has-dropdown.active > a::after {
        transform: rotate(180deg);
    }
    
    .dropdown,
    .mega-dropdown {
        position: static;
        opacity: 0;
        visibility: hidden;
        transform: none;
        box-shadow: none;
        border-top: none;
        max-height: 0;
        overflow: hidden;
        transition: opacity 0.3s ease, max-height 0.3s ease;
    }
    
    .nav-menu > li.has-dropdown.active .dropdown,
    .nav-menu > li.has-dropdown.active .mega-dropdown {
        opacity: 1;
        visibility: visible;
        max-height: 1000px;
    }
    
    .dropdown {
        background: var(--bg-light);
    }
    
    .mega-dropdown {
        width: 100%;
    }
    
    .mega-dropdown-content {
        grid-template-columns: 1fr;
    }
    
    .welcome-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .slide {
        flex-direction: column;
    }
    
    .slide-content {
        flex: 0 0 auto;
        padding: 2rem;
        min-height: auto;
    }
    
    .slide-image-wrapper {
        flex: 0 0 auto;
        height: 300px;
    }
    
    .slide-content h2 {
        font-size: 2rem;
    }
    
    .slide-content p {
        font-size: 1rem;
    }
}

@media (max-width: 640px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero-slider {
        min-height: auto;
    }
    
    .slide-content {
        padding: 1.5rem;
    }
    
    .slide-image-wrapper {
        height: 250px;
    }
    
    .slide-content h2 {
        font-size: 1.5rem;
    }
    
    .slide-content p {
        font-size: 0.95rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}
