:root {
    --primary: #0A2540; /* Deep Navy */
    --primary-light: #1A3C63;
    --accent: #F9A826; /* Gold/Orange */
    --accent-hover: #F29100;
    --text-main: #333333;
    --text-muted: #4a5568;
    --bg-light: #F8F9FA;
    --border: #E0E0E0;
    --white: #FFFFFF;
    --radius: 8px;
    --transition: all 0.3s ease;
}

/* --- Animations --- */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal-on-scroll.revealed {
    opacity: 1;
    transform: translateY(0);
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(249, 168, 38, 0.4); }
    70% { box-shadow: 0 0 0 12px rgba(249, 168, 38, 0); }
    100% { box-shadow: 0 0 0 0 rgba(249, 168, 38, 0); }
}

@keyframes priceFlash {
    0% { transform: scale(1); color: var(--primary); }
    50% { transform: scale(1.1); color: #4CAF50; }
    100% { transform: scale(1); color: var(--primary); }
}

.price-updated {
    animation: priceFlash 0.4s ease-out;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, .logo-title {
    font-family: 'Playfair Display', serif;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 600;
    border-radius: var(--radius);
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--accent);
    color: var(--primary);
    box-shadow: 0 4px 15px rgba(249, 168, 38, 0.3);
    animation: pulse 2s infinite;
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(249, 168, 38, 0.4);
    animation: none;
}

.btn-secondary {
    background-color: rgba(255,255,255,0.1);
    color: var(--white);
    border-color: var(--white);
    backdrop-filter: blur(5px);
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--primary);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--primary);
    color: var(--primary);
    padding: 10px 20px;
}

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--white);
}

.btn-full {
    width: 100%;
}

.btn-link {
    color: var(--primary);
    font-weight: 600;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
    transition: var(--transition);
}

.btn-link:hover {
    color: var(--accent);
    gap: 12px;
}

/* --- Top Bar --- */
.top-bar {
    background-color: var(--primary);
    color: rgba(255,255,255,0.8);
    font-size: 13px;
    padding: 8px 0;
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
}

.top-bar i {
    color: var(--accent);
    margin-right: 5px;
}

/* --- Header --- */
header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

header.scrolled {
    padding: 5px 0;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    font-size: 28px;
    color: var(--accent);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.1;
    letter-spacing: 1px;
}

.logo-subtitle {
    font-size: 11px;
    font-family: 'Inter', sans-serif;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.main-nav ul {
    display: flex;
    gap: 30px;
}

.main-nav a {
    font-size: 15px;
    font-weight: 600;
    color: var(--primary);
    position: relative;
    padding-bottom: 5px;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--accent);
    transition: var(--transition);
}

.main-nav a:hover::after {
    width: 100%;
}

.header-contact {
    display: flex;
    align-items: center;
    gap: 20px;
}

.phone-number {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
}

.phone-number i {
    color: var(--accent);
}

.mobile-menu-btn {
    display: none;
    font-size: 24px;
    background: none;
    border: none;
    color: var(--primary);
    cursor: pointer;
}

/* --- Hero --- */
.hero {
    position: relative;
    padding: 140px 0 160px;
    background-image: url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?ixlib=rb-1.2.1&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    color: var(--white);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(10,37,64,0.95) 0%, rgba(10,37,64,0.7) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
}

.badge {
    display: inline-block;
    background-color: rgba(249, 168, 38, 0.2);
    color: var(--accent);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid rgba(249, 168, 38, 0.5);
}

.hero h1 {
    font-size: 52px;
    line-height: 1.2;
    margin-bottom: 25px;
}

.hero p {
    font-size: 18px;
    margin-bottom: 40px;
    color: rgba(255,255,255,0.85);
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

/* --- Section Title --- */
.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 40px;
    color: var(--primary);
    margin-bottom: 15px;
}

.section-title p {
    font-size: 16px;
    color: var(--text-muted);
}

/* --- Catalog Preview --- */
.catalog-preview {
    padding: 100px 0;
    background-color: var(--white);
}

/* --- Catalog --- */
.catalog {
    padding: 100px 0;
    background-color: var(--bg-light);
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.catalog-item {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: var(--transition);
    border: 1px solid var(--border);
}

.catalog-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.item-img {
    height: 240px;
    background-size: cover;
    background-position: center;
    border-bottom: 4px solid var(--accent);
}

.item-content {
    padding: 30px;
}

.item-content h3 {
    font-size: 24px;
    color: var(--primary);
    margin-bottom: 15px;
}

.item-content p {
    color: var(--text-muted);
    font-size: 15px;
    margin-bottom: 20px;
}

.item-features {
    margin-bottom: 20px;
}

.item-features li {
    font-size: 14px;
    color: var(--text-main);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.item-features i {
    color: #4CAF50;
}

/* --- Benefits --- */
.benefits {
    padding: 80px 0;
    background-color: var(--primary);
    color: var(--white);
}

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

.benefit-card {
    text-align: center;
}

.benefit-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: var(--accent);
    margin: 0 auto 20px;
    transition: var(--transition);
}

.benefit-card:hover .benefit-icon {
    background-color: var(--accent);
    color: var(--primary);
    transform: scale(1.1);
}

.benefit-card h4 {
    font-size: 20px;
    margin-bottom: 15px;
    font-family: 'Inter', sans-serif;
}

.benefit-card p {
    font-size: 14px;
    color: rgba(255,255,255,0.9);
}

/* --- Callback Section --- */
.callback-section {
    padding: 100px 0;
}

.callback-box {
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    display: flex;
    overflow: hidden;
}

.callback-text {
    flex: 1;
    background: var(--primary-light);
    color: var(--white);
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.callback-text h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.callback-text p {
    font-size: 16px;
    opacity: 0.9;
}

.callback-form-wrap {
    flex: 1;
    padding: 60px;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGNpcmNsZSBjeD0iMiIgY3k9IjIiIHI9IjIiIGZpbGw9IiNFMkUzRTIiLz48L3N2Zz4=');
}

.callback-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.callback-form input, .callback-form select {
    padding: 16px 20px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    outline: none;
    transition: var(--transition);
}

.callback-form input:focus, .callback-form select:focus {
    border-color: var(--primary);
}

/* --- Footer --- */
footer {
    background-color: #051320;
    color: rgba(255,255,255,0.7);
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-col h4 {
    font-family: 'Inter', sans-serif;
    color: var(--white);
    font-size: 18px;
    margin-bottom: 25px;
}

.about-col p {
    margin: 20px 0;
    font-size: 14px;
}

.socials {
    display: flex;
    gap: 15px;
}

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

.socials a:hover {
    background-color: var(--accent);
    color: var(--primary);
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col ul a:hover {
    color: var(--accent);
}

.contact-list li {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.contact-list i {
    color: var(--accent);
    margin-top: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    font-size: 13px;
}

.unp {
    color: var(--accent);
}

/* --- Responsive --- */
@media (max-width: 992px) {
    .callback-box {
        flex-direction: column;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .top-bar {
        display: none;
    }
    .main-nav {
        display: none; /* simple hidden for mobile, need JS to toggle */
    }
    .header-contact .btn-outline {
        display: none;
    }
    .mobile-menu-btn {
        display: block;
    }
    .hero {
        padding: 100px 0;
    }
    .hero h1 {
        font-size: 36px;
    }
    .hero-buttons {
        flex-direction: column;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

/* --- Inner Page Header --- */
.page-header {
    background-color: var(--primary);
    color: var(--white);
    padding: 80px 0 60px;
    text-align: center;
    background-image: linear-gradient(rgba(10,37,64,0.9), rgba(10,37,64,0.9)), url('https://images.unsplash.com/photo-1513694203232-719a280e022f?ixlib=rb-1.2.1&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
}

.page-header h1 {
    font-size: 48px;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 18px;
    color: rgba(255,255,255,0.8);
}

/* --- About Brief Section --- */
.about-brief {
    padding: 100px 0;
    background-color: var(--white);
}

.about-brief-inner {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-text {
    flex: 1.5;
}

.about-text h2 {
    font-size: 36px;
    color: var(--primary);
    margin-bottom: 25px;
}

.about-text p {
    font-size: 16px;
    margin-bottom: 30px;
    color: var(--text-muted);
}

.check-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.check-list i {
    color: #4CAF50;
    font-size: 20px;
}

.about-stats {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.stat-box {
    background: var(--bg-light);
    padding: 30px 20px;
    border-radius: var(--radius);
    text-align: center;
    border-bottom: 3px solid var(--accent);
}

.stat-box:nth-child(3) {
    grid-column: span 2;
}

.stat-number {
    display: block;
    font-size: 40px;
    font-weight: 700;
    color: var(--primary);
    font-family: 'Playfair Display', serif;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
}

/* --- Reviews Section --- */
.reviews {
    padding: 100px 0;
    background-color: var(--bg-light);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.review-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--radius);
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    position: relative;
    transition: var(--transition);
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.review-stars {
    color: #FFC107;
    margin-bottom: 20px;
    font-size: 18px;
}

.review-text {
    font-style: italic;
    color: var(--text-muted);
    margin-bottom: 30px;
    line-height: 1.8;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 15px;
    border-top: 1px solid var(--border);
    padding-top: 20px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background-color: var(--primary-light);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.review-author h4 {
    font-size: 16px;
    color: var(--primary);
    font-family: 'Inter', sans-serif;
}

.review-author span {
    font-size: 13px;
    color: var(--text-muted);
}

/* --- Mobile Menu --- */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background-color: var(--primary);
    z-index: 2000;
    padding: 80px 40px;
    transition: var(--transition);
    box-shadow: -5px 0 20px rgba(0,0,0,0.2);
}

.mobile-menu.active {
    right: 0;
}

.close-menu {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 30px;
    color: var(--white);
    cursor: pointer;
}

.mobile-menu ul {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.mobile-menu a {
    color: var(--white);
    font-size: 20px;
    font-weight: 600;
}

.mobile-menu a.active {
    color: var(--accent);
}

/* --- Utilities --- */
.text-center {
    text-align: center;
}

.featured {
    border: 2px solid var(--accent);
    position: relative;
    transform: scale(1.02);
}

.featured-badge {
    position: absolute;
    top: 15px;
    right: -10px;
    background: var(--accent);
    color: var(--primary);
    padding: 5px 15px;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    z-index: 10;
}

/* --- Calculator --- */
.calc-container {
    background: var(--white);
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    margin-bottom: 60px;
}

.calc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.calc-group {
    margin-bottom: 25px;
}

.calc-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--primary);
}

.calc-group select, .calc-group input {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
}

.calc-result {
    background: var(--bg-light);
    padding: 30px;
    border-radius: var(--radius);
    border-left: 5px solid var(--accent);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.calc-result h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.price-display {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary);
    font-family: 'Playfair Display', serif;
    margin-bottom: 20px;
}

.price-display span {
    font-size: 20px;
    color: var(--text-muted);
}

/* --- Gallery --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item {
    height: 300px;
    border-radius: var(--radius);
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.gallery-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(10,37,64,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    font-size: 40px;
    color: var(--white);
}

/* --- Lightbox --- */
.lightbox {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-backdrop {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(10,37,64,0.9);
}

.lightbox-content {
    position: relative;
    z-index: 1;
    max-width: 90%;
    max-height: 90%;
}

.lightbox-img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: var(--radius);
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

.lightbox-close, .lightbox-prev, .lightbox-next {
    position: absolute;
    background: none;
    border: none;
    color: var(--white);
    font-size: 30px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover {
    color: var(--accent);
}

.lightbox-close {
    top: -40px; right: 0;
}

.lightbox-prev {
    left: -50px; top: 50%; transform: translateY(-50%);
}

.lightbox-next {
    right: -50px; top: 50%; transform: translateY(-50%);
}

.lightbox-counter {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--white);
    font-size: 14px;
}

/* --- Contacts --- */
.contact-page-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info-boxes {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-box {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 30px;
    background: var(--bg-light);
    border-radius: var(--radius);
}

.info-box i {
    font-size: 30px;
    color: var(--accent);
}

.info-box h4 {
    font-size: 20px;
    margin-bottom: 10px;
}

.map-container {
    height: 400px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

@media (max-width: 992px) {
    .about-brief-inner, .calc-grid, .contact-page-grid {
        flex-direction: column;
        grid-template-columns: 1fr;
    }
}

.main-nav a.active::after {
    width: 100%;
}

.main-nav a.active {
    color: var(--accent);
}
