/* --- style.css --- */

/* 1. VARIABLES & RESET */
:root {
    --bg-black: #050505;
    --bg-dark: #0a0a0a;
    --text-white: #ffffff;
    --text-grey: #a0a0a0;
    --accent-cyan: #00e0ff;
    --accent-glow: rgba(0, 224, 255, 0.4);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--bg-black);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
    opacity: 0;
    animation: pageFadeIn 1s forwards;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* 2. ANIMATIONS */
@keyframes pageFadeIn {
    to { opacity: 1; }
}

@keyframes slideUp {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); text-shadow: 0 0 20px var(--accent-cyan); }
    100% { transform: translateY(0px); }
}

/* 3. HEADER */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background-color: rgba(5, 5, 5, 0.9);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #222;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--text-white);
    text-transform: uppercase;
}

.logo span { color: var(--accent-cyan); }

nav ul { display: flex; list-style: none; gap: 40px; }

nav a {
    text-decoration: none;
    color: var(--text-white);
    font-weight: 500;
    font-size: 1rem;
    position: relative;
    transition: 0.3s;
}

nav a:hover { color: var(--accent-cyan); }

.btn-header {
    padding: 10px 25px;
    background-color: var(--accent-cyan);
    color: #000;
    font-weight: 700;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: 0.3s ease;
}

.btn-header:hover {
    background-color: #fff;
    box-shadow: 0 0 20px var(--accent-glow);
    transform: scale(1.05);
}

/* 4. HOME PAGE (HERO) */
.hero {
    width: 100%;
    min-height: 50vh; 
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: radial-gradient(circle at center, #111 0%, var(--bg-black) 70%);
    padding: 140px 20px 40px 20px;
    position: relative;
    z-index: 1;
}

.hero-content { animation: slideUp 1s ease-out 0.2s backwards; }
.hero-content h1 { font-size: 3.5rem; margin-bottom: 20px; font-weight: 800; text-transform: uppercase; }
.hero-content p { font-size: 1.1rem; color: var(--text-grey); margin-bottom: 40px; }

.hero-buttons { display: flex; gap: 20px; justify-content: center; }
.btn-primary {
    padding: 15px 40px;
    background-color: transparent;
    border: 2px solid var(--accent-cyan);
    color: var(--accent-cyan);
    font-size: 1rem;
    font-weight: bold;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--accent-cyan);
    color: #000;
    box-shadow: 0 0 25px var(--accent-glow);
    transform: translateY(-3px);
}

/* 5. PAGE HEADERS & CONTENT */
.page-header {
    padding: 80px 20px 20px;
    text-align: center;
    animation: slideUp 0.8s ease-out;
}

.page-header h1 { font-size: 3rem; font-weight: 800; margin-bottom: 10px;}
.highlight { color: var(--accent-cyan); }

.stats-bar {
    display: flex;
    justify-content: space-around;
    padding: 50px 0;
    background: #080808;
    margin: 40px 0;
    border-top: 1px solid #111;
    border-bottom: 1px solid #111;
    animation: slideUp 1s ease-out;
}

.stat-box { text-align: center; }
.stat-number { font-size: 3rem; font-weight: bold; color: var(--accent-cyan); display: block; }
.stat-label { color: var(--text-grey); font-size: 1.1rem; }

.content-section {
    display: flex;
    max-width: 1000px;
    margin: 0 auto;
    padding: 50px 20px;
    gap: 50px;
    align-items: center;
    animation: slideUp 1.2s ease-out;
}

.text-col { flex: 1; }
.text-col h2 { font-size: 2rem; margin-bottom: 20px; border-left: 4px solid var(--accent-cyan); padding-left: 15px; }
.text-col p { color: var(--text-grey); margin-bottom: 15px; }

/* 6. CONTACT PAGE */
.container {
    max-width: 1100px;
    margin: 50px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    animation: slideUp 0.8s ease-out;
}

.info-col h1 { font-size: 3rem; margin-bottom: 20px; font-weight: 800; }
.info-col p { color: var(--text-grey); margin-bottom: 40px; }

.contact-item {
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    transition: 0.3s;
}

.contact-item:hover { background: rgba(255, 255, 255, 0.08); transform: translateX(10px); }
.icon {
    width: 50px; height: 50px; border: 1px solid var(--accent-cyan);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    color: var(--accent-cyan); font-weight: bold;
}

.form-col {
    background-color: var(--bg-dark);
    padding: 40px;
    border-radius: 15px;
    border: 1px solid #222;
}

input, textarea {
    width: 100%; padding: 15px; background-color: #000; border: 1px solid #333;
    color: white; border-radius: 5px; outline: none; margin-top: 5px;
}

input:focus, textarea:focus { border-color: var(--accent-cyan); box-shadow: 0 0 10px var(--accent-glow); }

.btn-submit {
    width: 100%; padding: 15px; background: transparent; border: 2px solid var(--accent-cyan);
    color: var(--accent-cyan); font-weight: bold; border-radius: 50px; cursor: pointer; transition: 0.3s; margin-top: 10px;
}
.btn-submit:hover { background-color: var(--accent-cyan); color: black; box-shadow: 0 0 20px var(--accent-glow); }

/* 7. SHOP & OFFERS */
.construction-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 50px 20px;
}
.icon-box { font-size: 5rem; color: var(--accent-cyan); margin-bottom: 20px; animation: float 3s ease-in-out infinite; }
.btn-notify {
    padding: 15px 40px; background-color: transparent; border: 2px solid var(--accent-cyan);
    color: var(--accent-cyan); border-radius: 50px; font-weight: bold; cursor: pointer; transition: 0.3s;
}
.btn-notify:hover { background-color: var(--accent-cyan); color: #000; box-shadow: 0 0 25px var(--accent-glow); }

.offers-section {
    padding: 60px 20px;
    text-align: center;
    background-color: #080808;
    animation: slideUp 1s ease-out; 
}

.section-header { margin-bottom: 40px; }
.section-header h2 { font-size: 2.5rem; font-weight: 800; text-transform: uppercase; color: #fff; margin-bottom: 10px; }
.section-header p { color: var(--text-grey); font-size: 1.1rem; }

.offers-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.offer-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    border: 2px solid #222;
    transition: 0.3s ease;
    cursor: pointer;
    width: 350px;
    height: 250px;
}

.offer-item img {
    width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s ease;
}
.offer-item:hover { border-color: var(--accent-cyan); box-shadow: 0 0 25px rgba(0, 224, 255, 0.2); transform: translateY(-5px); }
.offer-item:hover img { transform: scale(1.1); }

/* 8. QUOTATION PAGE */
.quotation-container {
    max-width: 900px;
    margin: 0 auto 50px auto;
    padding: 40px;
    background-color: var(--bg-dark);
    border-radius: 15px;
    border: 1px solid #222;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    animation: slideUp 0.8s ease-out;
}

.form-section-title {
    font-size: 1.5rem; font-weight: 700; color: var(--accent-cyan);
    margin-bottom: 20px; border-bottom: 1px solid #333; padding-bottom: 10px;
}

.form-row { display: flex; gap: 20px; margin-bottom: 15px; }

.quote-table { width: 100%; border-collapse: collapse; margin-bottom: 20px; }
.quote-table th { text-align: left; padding: 10px; color: var(--text-grey); font-size: 0.9rem; border-bottom: 1px solid #333; }
.quote-table td { padding: 10px 5px; }
.quote-table input { margin: 0; }

.btn-add-row {
    background: transparent; border: 1px dashed var(--text-grey); color: var(--text-grey);
    padding: 10px 20px; width: 100%; border-radius: 5px; cursor: pointer; transition: 0.3s;
}
.btn-add-row:hover { border-color: var(--accent-cyan); color: var(--accent-cyan); background: rgba(0, 224, 255, 0.05); }

.btn-remove { background: transparent; border: none; color: #ff4444; font-weight: bold; cursor: pointer; font-size: 1.2rem; }
.btn-remove:hover { color: #ff0000; transform: scale(1.2); }

.submit-area { margin-top: 40px; text-align: right; }
.upload-box {
    border: 2px dashed #444; padding: 30px; text-align: center; border-radius: 10px;
    margin-bottom: 40px; transition: 0.3s; cursor: pointer; position: relative; background: #0a0a0a;
}
.upload-box:hover { border-color: var(--accent-cyan); background: rgba(0, 224, 255, 0.05); }
.upload-label { color: var(--text-grey); font-size: 1.1rem; pointer-events: none; }
.upload-icon { font-size: 3rem; color: var(--accent-cyan); margin-bottom: 10px; display: block; }
#fileInput { position: absolute; width: 100%; height: 100%; top: 0; left: 0; opacity: 0; cursor: pointer; }
#imagePreview { max-width: 100%; max-height: 200px; margin-top: 20px; border-radius: 10px; border: 1px solid var(--accent-cyan); display: none; }

/* 9. FOOTER */
footer { padding: 40px; text-align: center; border-top: 1px solid #222; color: #666; margin-top: auto; }

/* 10. RESPONSIVE / MOBILE STYLES (THE FIX) */
@media (max-width: 768px) {
    /* Header & Nav */
    header { flex-direction: column; gap: 15px; padding: 15px; }
    nav ul { flex-wrap: wrap; justify-content: center; gap: 15px; }
    .logo { font-size: 1.6rem; }

    /* Home Page */
    .hero-content h1 { font-size: 2.2rem; }
    .hero-buttons { flex-direction: column; width: 100%; gap: 10px; }
    .btn-primary { width: 100%; }

    /* Page Headers */
    .page-header h1 { font-size: 2.2rem; }

    /* Layouts (Contact, About, Stats) */
    .container { grid-template-columns: 1fr; gap: 30px; }
    .content-section { flex-direction: column; }
    .stats-bar { flex-direction: column; gap: 30px; }
    
    /* Quotation Form */
    .form-row { flex-direction: column; gap: 15px; }
    .quotation-container { padding: 20px; }
    .quote-table { display: block; overflow-x: auto; white-space: nowrap; }

    /* Offer Cards */
    .offers-grid { flex-direction: column; align-items: center; }
}