/* =========================================
   HOME.CSS - Premium De Cruze Series Styles
   ========================================= */

/* --- Utilities & Buttons --- */
.btn, .cta-button {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
}

.btn-primary, .cta-button {
    background-color: var(--color-primary);
    color: var(--color-white);
    border: 2px solid var(--color-primary);
}
.btn-primary:hover, .cta-button:hover {
    background-color: #004a80; /* Darker Blue */
    border-color: #004a80;
}

.btn-outline, .cta-button.secondary {
    background-color: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}
.btn-outline:hover, .cta-button.secondary:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.text-link {
    color: var(--color-primary);
    font-weight: bold;
    text-decoration: underline;
}

/* --- Section Global --- */
section {
    padding: 80px 0;
    overflow: hidden; 
}
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px auto;
}
.section-header h2 {
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: 10px;
}
.section-header .sub {
    font-size: 1.1rem;
    color: #666;
}

/* =========================
   HEADER & NAVIGATION
   ========================= */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding: 15px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-left .logo {
    height: 50px; 
    width: auto;
}

/* Desktop Menu */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 25px;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--color-text);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: var(--color-primary);
}

.nav-cta {
    background: var(--color-primary);
    color: white !important;
    padding: 10px 20px;
    border-radius: 4px;
}

/* Mobile Toggle (Hidden on Desktop) */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1100;
}
.hamburger {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--color-text);
    position: relative;
    transition: all 0.3s ease;
}
.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 3px;
    background: var(--color-text);
    left: 0;
    transition: all 0.3s ease;
}
.hamburger::before { top: -8px; }
.hamburger::after { bottom: -8px; }

/* =========================
   HERO SECTION
   ========================= */
.hero-section {
    padding: 60px 0;
    background: linear-gradient(to right, #f8f9fa, #e9ecef);
    min-height: 80vh;
    display: flex;
    align-items: center;
}

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

.hero-media {
    position: relative;
    order: 2; /* Image on right for desktop */
}

.hero-image {
    width: 100%;
    transform: rotate(-15deg); 
    filter: drop-shadow(0 20px 30px rgba(0,0,0,0.15));
    transition: transform 0.5s ease;
}
/* No hover effect here, handled by JS scroll */

.hero-content {
    order: 1;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--color-text);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #555;
    margin-bottom: 30px;
    font-weight: 300;
}

.hero-ctas {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.hero-badge {
    font-size: 0.85rem;
    color: #777;
    background: white;
    padding: 5px 10px;
    border-radius: 20px;
    display: inline-block;
    border: 1px solid #ddd;
}

/* =========================
   STORY SECTION
   ========================= */
.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.story-text h2 {
    font-size: 2.2rem;
    color: var(--color-primary);
    margin-bottom: 20px;
}
.story-text .lead {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 20px;
}
.story-image {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

/* =========================
   COLLECTION GRID (FIXED)
   ========================= */
.collection-section {
    background: #fff;
    padding: 60px 20px; 
}

.collection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
    gap: 30px;
    margin-bottom: 40px;
    align-items: stretch;
}

.collection-item {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column; 
    height: 100%; 
}

.collection-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}

.thumb {
    margin: 0;
    overflow: hidden;
    height: 250px; 
    background: #f9f9f9;
    position: relative;
}

.thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.collection-item:hover .thumb img {
    transform: scale(1.05);
}

.meta {
    padding: 20px;
    text-align: center;
    flex-grow: 1; 
    display: flex;
    flex-direction: column;
    justify-content: flex-end; 
}

.meta h3 {
    margin: 0 0 15px 0;
    font-size: 1.25rem;
    color: var(--color-text);
    font-weight: 600;
}

.price-detail {
    margin: 6px 0;
    font-size: 0.95rem;
    color: #555;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px dashed #eee;
    padding-bottom: 4px;
}

.price-detail strong {
    color: var(--color-primary);
    font-weight: 700;
}
.center-btn-container { text-align: center; }

/* =========================
   FEATURES
   ========================= */
.features-section {
    background: var(--color-secondary);
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}
.feature {
    background: white;
    padding: 30px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}
.feature .icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}
.feature h4 {
    color: var(--color-primary);
    margin-bottom: 10px;
}

/* =========================
   CRAFTSMANSHIP (RECTANGULAR UPDATE)
   ========================= */
.craft-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
@media (min-width: 768px) {
    .craft-grid { grid-template-columns: repeat(3, 1fr); }
}
.craft-item {
    margin: 0;
    position: relative;
    text-align: center;
}

/* UPDATED: Rectangular Image Styling */
.craft-item img {
    width: 100%;
    height: 250px; /* Rectangular height */
    border-radius: 8px; /* Soft corners, but rectangular */
    object-fit: cover;
    margin: 0 auto;
    border: 1px solid #eee; /* Clean border */
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.craft-item figcaption {
    margin-top: 15px;
    font-weight: 600;
    color: #555;
}

/* =========================
   CASE SECTION
   ========================= */
.case-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
.case-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.case-text {
    padding: 40px;
}

/* =========================
   LIFESTYLE
   ========================= */
.lifestyle-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}
@media (min-width: 768px) {
    .lifestyle-grid { grid-template-columns: repeat(3, 1fr); }
}
.l-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}
.l-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.5s;
}
.l-item:hover img {
    transform: scale(1.1);
}
.l-item .caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    color: white;
    padding: 20px;
    margin: 0;
    font-weight: bold;
}

/* =========================
   SUSTAINABILITY & FIT
   ========================= */
.values-grid, .fit-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
    text-align: center;
}
.value, .fit-card {
    flex: 1;
    min-width: 250px;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}

/* =========================
   SIGNATURE SECTION
   ========================= */
.signature-section {
    background: #f0f4f8;
}
.signature-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}
.signature-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}
.signature-tags {
    list-style: none;
    padding: 0;
    margin: 20px 0 30px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}
.signature-tags li {
    background: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    border: 1px solid #ddd;
}
.signature-media img {
    width: 100%;
    border-radius: 12px;
}

/* =========================
   RESPONSIVE (MOBILE) MENU
   ========================= */
@media (max-width: 768px) {
    /* Hamburger Button */
    .nav-toggle { 
        display: block; 
    }
    
    /* The Menu Panel */
    .nav-menu {
        display: none; /* Hidden by default */
        flex-direction: column;
        position: absolute;
        top: 100%; /* Directly below header */
        left: 0;
        width: 100%;
        background-color: #ffffff; /* Solid White */
        padding: 0;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        border-top: 1px solid #eee;
    }

    /* Class added by JS to show menu */
    .nav-menu.open { 
        display: flex; 
    }

    /* Mobile Links */
    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid #f9f9f9;
    }
    .nav-menu a {
        display: block;
        padding: 15px 20px;
        font-size: 1.1rem;
    }
    .nav-cta {
        margin: 15px 20px 20px 20px;
        text-align: center;
        width: calc(100% - 40px); /* Full width minus padding */
        display: block;
    }

    /* Stack Sections Vertically */
    .hero-inner, .story-grid, .case-grid, .signature-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-media { order: 1; margin-bottom: 30px; }
    .hero-content { order: 2; }
    .hero-title { font-size: 2.5rem; }
    
    .hero-ctas {
        justify-content: center;
        flex-direction: column;
    }
}


