@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700&display=swap');

/* =========================
   GLOBAL STYLES
========================= */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html { font-size: 16px; }

@media (max-width: 768px) { html { font-size: 14px; } }
@media (max-width: 480px) { html { font-size: 13px; } }

body {
    font-family: 'Inter', sans-serif;
    background-color: #f0f4f8;
    color: #1f2937;
    min-height: 100vh;
    overflow-x: hidden;
}

/* =========================
   CONTAINER
========================= */

.container {
    max-width: 1200px;
    margin: auto;
    padding: 0 16px;
}

/* =========================
   GLASS EFFECT
========================= */

.glass-container {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

/* =========================
   CARD SHADOW
========================= */

.unique-card-shadow {
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.unique-card-shadow:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.14);
}

/* =========================
   INPUTS
========================= */

input, textarea {
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    background: rgba(255,255,255,0.7);
    border: 1px solid rgba(0,0,0,0.1);
    transition: 0.3s;
}

input:focus, textarea:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 2px rgba(59,130,246,0.3);
    outline: none;
}

/* =========================
   HERO SECTION
========================= */

.hero-section {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 20px;
    color: #fff;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.hero-content h1 { font-size: 3rem; margin-bottom: 20px; }
.hero-content p  { font-size: 1.2rem; margin-bottom: 30px; }

/* =========================
   BUTTONS
========================= */

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    transition: 0.3s;
}

.btn-primary { background: #4f46e5; color: #fff; }
.btn-outline  { border: 2px solid #fff; color: #fff; }

/* =========================
   PRODUCT GRID
========================= */

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.product-card {
    background: #fff;
    border-radius: 1.2rem;
    overflow: hidden;
    transition: 0.3s;
}

.product-card:hover { transform: translateY(-8px); }

.product-image-container { overflow: hidden; }

.product-image { width: 100%; transition: 0.4s; }

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

/* =========================
   SCROLL ANIMATIONS
========================= */

.animate-fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-fade-in.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* =========================
   MOBILE MENU
========================= */

/* Hamburger icon */
.hamburger-icon {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 24px;
}

.hamburger-icon span {
    display: block;
    height: 2px;
    background-color: #374151;
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

/* Hamburger → X when open */
.hamburger-icon.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.hamburger-icon.open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.hamburger-icon.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu visibility */
.menu-hidden  { display: none; }
.menu-visible { display: block; }

/* Mobile products sub-menu */
.product-menu-hidden  { display: none; }
.product-menu-visible { display: block; }

/* =========================
   MAP SECTION
========================= */

.map-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
}

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

.info-container { padding: 50px; background: #fff; }

/* =========================
   RESPONSIVE DESIGN
========================= */

@media (max-width: 1024px) {
    .products-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .hero-section  { min-height: auto; padding: 60px 20px; }
    .hero-content h1 { font-size: 2rem; }
    .hero-buttons  { flex-direction: column; }
    .btn           { width: 100%; }
    .products-grid { grid-template-columns: 1fr; }
    .map-section   { display: flex; flex-direction: column; }
    .map-container { height: 300px; }
    .info-container { padding: 20px; }
}

@media (max-width: 480px) {
    .hero-content h1 { font-size: 1.6rem; }
    .btn { padding: 10px; font-size: 14px; }
}
