/* style.css */
:root {
    --bg-dark: #1A1A1A;
    --bg-light: #FFFFFF;
    --accent: #D4AF37; /* Gold */
    --accent-hover: #b5952f;
    --text-light: #F4F4F4;
    --text-dark: #333333;
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Typography */
h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

h2 {
    font-size: 3rem;
    margin-bottom: 3rem;
    text-align: center;
}
.accent-text { color: var(--accent); }

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 2px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

nav a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
}

nav a:hover {
    color: var(--accent);
}

.contact-phone {
    font-weight: 600;
    font-size: 1.1rem;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(26, 26, 26, 0.95)), url('images/hero_bg2.jpg') center/cover;
    display: flex;
    align-items: center;
    padding: 0 5%;
    margin-top: 0;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: var(--accent);
    color: var(--bg-dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
}

/* Advantages Section */
.advantages {
    padding: 8rem 0;
}

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

.adv-card {
    background: rgba(255,255,255,0.03);
    padding: 2.5rem;
    border: 1px solid rgba(255,255,255,0.05);
    transition: var(--transition);
}
.adv-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
}

.adv-card h3 {
    color: var(--accent);
    margin-bottom: 1rem;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
}

/* Projects Section */
.projects {
    padding: 6rem 0 8rem;
    background-color: var(--bg-light);
    color: var(--text-dark);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
}

.project-card {
    background: var(--text-light);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: var(--transition);
    overflow: hidden;
    cursor: pointer;
}

.project-card:hover {
    transform: translateY(-10px);
}

.project-image {
    height: 300px;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

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

.project-info {
    padding: 2rem;
}

.project-info h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.project-specs {
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.project-feature {
    color: #666;
}

/* Modal Gallery */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    display: flex;
    opacity: 1;
}

.modal-content {
    background-color: var(--bg-dark);
    padding: 2rem;
    width: 90%;
    max-width: 800px;
    position: relative;
    border: 1px solid var(--accent);
}

.modal-content img {
    width: 100%;
    height: auto;
    margin-bottom: 1rem;
}

.close-modal {
    color: var(--text-light);
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 20px;
}

.close-modal:hover {
    color: var(--accent);
}

/* Class Switcher Tabs */
.class-switcher {
    padding: 8rem 0;
}

.tabs {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
}

.tab-btn {
    background: transparent;
    border: none;
    color: var(--text-light);
    font-size: 1.5rem;
    font-family: 'Playfair Display', serif;
    cursor: pointer;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid transparent;
    transition: var(--transition);
}

.tab-btn.active, .tab-btn:hover {
    color: var(--accent);
    border-bottom-color: var(--accent);
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s;
}

.tab-content.active {
    display: block;
}

.tab-grid {
    display: flex;
    gap: 4rem;
    align-items: center;
}

.tab-text {
    flex: 1;
}
.tab-text h3 { margin-bottom: 1.5rem; font-size: 2rem;}
.tab-text p { margin-bottom: 2rem; opacity: 0.9;}
.tab-features { list-style: none; }
.tab-features li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
}
.tab-features li::before {
    content: '✓';
    color: var(--accent);
    position: absolute;
    left: 0;
}

.tab-image {
    flex: 1;
    height: 400px;
    background-size: cover;
    background-position: center;
    box-shadow: 20px 20px 0px var(--accent);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Calculator */
.calculator {
    padding: 6rem 0;
    background-color: #111;
}

.calc-wrapper {
    display: flex;
    gap: 4rem;
    background: rgba(255,255,255,0.03);
    padding: 3rem;
    border: 1px solid rgba(255,255,255,0.05);
}

.calc-controls {
    flex: 1.5;
}

.calc-result {
    flex: 1.2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    border-left: 1px solid rgba(255,255,255,0.1);
    padding-left: 3rem;
}

.price-display {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--accent);
    margin: 1.5rem 0;
    font-family: 'Playfair Display', serif;
    white-space: nowrap;
}

.form-group {
    margin-bottom: 2rem;
}

.slider {
    width: 100%;
    margin-top: 1rem;
    accent-color: var(--accent);
}

.radio-group {
    display: flex;
    gap: 2rem;
    margin-top: 1rem;
}
.radio-group input {
    margin-right: 0.5rem;
    accent-color: var(--accent);
}

/* How We Work */
.how-we-work {
    padding: 8rem 0;
    background-color: var(--bg-light);
    color: var(--text-dark);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.step-num {
    width: 60px;
    height: 60px;
    background: var(--accent);
    color: var(--bg-dark);
    font-size: 1.5rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
}

.step h3 { margin-bottom: 1rem; font-family: 'Montserrat', sans-serif; font-size: 1.2rem; }

/* Trust Block */
.trust {
    padding: 8rem 0;
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('images/hero_bg2.jpg') center/cover fixed;
}
.trust-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}
.trust-list {
    list-style: none;
    text-align: left;
    margin-top: 3rem;
    font-size: 1.2rem;
}
.trust-list li {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(255,255,255,0.05);
    border-left: 3px solid var(--accent);
}

/* FAQ */
.faq {
    padding: 8rem 0;
}
.accordion {
    max-width: 800px;
    margin: 0 auto;
}
.acc-item {
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 1rem;
}
.acc-header {
    padding: 1.5rem 0;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    transition: color 0.3s;
}
.acc-header:hover { color: var(--accent); }
.acc-body {
    padding-bottom: 1.5rem;
    display: none;
    opacity: 0.9;
}

/* Contact Form */
.contact {
    padding: 8rem 0;
    background-color: #111;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.03);
    padding: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.form-control {
    width: 100%;
    padding: 1rem;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-light);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent);
}

select.form-control {
    background-color: var(--bg-dark);
}

#formMessage {
    margin-top: 1.5rem;
    font-weight: 600;
}
.success { color: #4CAF50; }
.error { color: #f44336; }

/* Footer */
footer {
    background: #0a0a0a;
    padding: 4rem 5%;
    text-align: center;
}

footer p {
    opacity: 0.5;
    font-size: 0.9rem;
}

/* Intersection Observer Animations */
.fade-in-section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.fade-in-section.is-visible {
    opacity: 1;
    transform: none;
}

/* Responsive */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        justify-content: center;
        gap: 0.8rem;
        padding: 1rem 5%;
    }
    .contact-info {
        text-align: center !important;
    }
    .contact-info .contact-phone {
        font-size: 1rem !important;
    }
    .logo {
        font-size: 1.2rem;
        letter-spacing: 1px;
    }
    .hero h1 { font-size: 2.5rem; }
    nav ul { display: none; }
    .projects-grid { grid-template-columns: 1fr; }
    .tab-grid, .calc-wrapper { flex-direction: column; }
    .tab-image { height: 250px; }
    .calc-result { border-left: none; padding-left: 0; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.1); }
}
