/* Base Styles */
:root {
    /* Colors */
    --deep-charcoal: #1A1A1A;
    --rich-navy: #0A1931;
    --metallic-gold: #C9A96D;
    --pearl-white: #F8F8F8;
    --silver: #C0C0C0;
    --dark-gray: #2D2D2D;
    
    /* Fonts */
    --heading-font: 'Playfair Display', serif;
    --body-font: 'Montserrat', sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    /* Shadows */
    --shadow-light: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 4px 20px rgba(0, 0, 0, 0.2);
    --shadow-heavy: 0 8px 30px rgba(0, 0, 0, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--body-font);
    background-color: var(--deep-charcoal);
    color: var(--pearl-white);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    font-weight: 700;
    line-height: 1.2;
    color: var(--pearl-white);
}

h1 {
    font-size: 3.5rem;
    margin-bottom: var(--spacing-sm);
}

h2 {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
    position: relative;
    padding-bottom: var(--spacing-sm);
}

h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background: var(--metallic-gold);
}

h3 {
    font-size: 1.8rem;
    margin-bottom: var(--spacing-xs);
}

p {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-sm);
    color: var(--silver);
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 25, 49, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: var(--spacing-sm) 0;
    transition: all 0.3s ease;
}

.header.scrolled {
    padding: 0.5rem 0;
    background: rgba(10, 25, 49, 0.95);
    box-shadow: var(--shadow-light);
}

.logo h2 {
    font-family: var(--heading-font);
    color: var(--metallic-gold);
    font-size: 1.8rem;
    letter-spacing: 1px;
}

.nav ul {
    display: flex;
    list-style: none;
}

.nav ul li {
    margin-left: var(--spacing-md);
}

.nav ul li a {
    color: var(--pearl-white);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
}

.nav ul li a:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--metallic-gold);
    transition: width 0.3s ease;
}

.nav ul li a:hover:after,
.nav ul li a.active:after {
    width: 100%;
}

.nav ul li a:hover,
.nav ul li a.active {
    color: var(--metallic-gold);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--pearl-white);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
}

.hero-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(10, 25, 49, 0.7), rgba(10, 25, 49, 0.9));
    z-index: -1;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    padding: 0 var(--spacing-sm);
    z-index: 1;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: var(--spacing-sm);
    animation: fadeInDown 1s ease;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-lg);
    animation: fadeInUp 1s ease 0.3s both;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    margin: 0 var(--spacing-xs);
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--metallic-gold);
    color: var(--rich-navy);
    box-shadow: var(--shadow-medium);
}

.btn-primary:hover {
    background: transparent;
    color: var(--metallic-gold);
    border-color: var(--metallic-gold);
    transform: translateY(-3px);
    box-shadow: var(--shadow-heavy);
}

.btn-secondary {
    background: transparent;
    color: var(--pearl-white);
    border-color: var(--pearl-white);
}

.btn-secondary:hover {
    background: var(--pearl-white);
    color: var(--rich-navy);
    transform: translateY(-3px);
    box-shadow: var(--shadow-heavy);
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.section-header h2 {
    margin: 0 auto var(--spacing-sm);
}

.section-header h2:after {
    left: 50%;
    transform: translateX(-50%);
}

.section-header p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
}

/* Features Section */
.features {
    padding: var(--spacing-xl) 0;
    background: var(--rich-navy);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: var(--spacing-lg);
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(201, 169, 109, 0.1);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
    border-color: rgba(201, 169, 109, 0.3);
}

.feature-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto var(--spacing-md);
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--metallic-gold);
}

.feature-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feature-card h3 {
    margin-bottom: var(--spacing-xs);
}

/* Contact Section */
.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.contact-info {
    text-align: left;
}

.contact-details {
    margin-top: var(--spacing-md);
}

.contact-item {
    margin-bottom: var(--spacing-md);
}

.contact-item h4 {
    color: var(--metallic-gold);
    margin-bottom: var(--spacing-xs);
}

.contact-form-container {
    text-align: left;
}

.contact-form .form-group {
    margin-bottom: var(--spacing-md);
}

.contact-form label {
    display: block;
    margin-bottom: var(--spacing-xs);
    color: var(--pearl-white);
    font-weight: 500;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border-radius: 5px;
    border: 1px solid rgba(192, 192, 192, 0.3);
    background: rgba(255, 255, 255, 0.05);
    color: var(--pearl-white);
    font-family: var(--body-font);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--metallic-gold);
    box-shadow: 0 0 0 2px rgba(201, 169, 109, 0.2);
}

.contact-form input.error,
.contact-form textarea.error {
    border-color: #ff6b6b;
}

.contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

.emergency-number {
    font-size: 1.5rem;
    color: var(--metallic-gold);
    font-weight: bold;
    margin-top: var(--spacing-xs);
}

.price {
    font-size: 2.5rem;
    color: var(--metallic-gold);
    font-weight: bold;
    margin: var(--spacing-md) 0;
}

.price-highlight {
    color: var(--metallic-gold);
    font-weight: bold;
    font-size: 1.2rem;
    margin-top: var(--spacing-xs);
}

.pricing-features {
    list-style: none;
    text-align: left;
    margin-top: var(--spacing-md);
}

.pricing-features li {
    margin-bottom: var(--spacing-xs);
    position: relative;
    padding-left: 25px;
}

.pricing-features li:before {
    content: '✓';
    color: var(--metallic-gold);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.map-placeholder {
    background: rgba(255, 255, 255, 0.05);
    border: 1px dashed var(--metallic-gold);
    border-radius: 10px;
    padding: var(--spacing-lg);
    text-align: center;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.map-placeholder p {
    margin: var(--spacing-xs) 0;
}

/* Pricing Table */
.pricing-table {
    display: flex;
    justify-content: center;
}

.pricing-table .feature-card {
    max-width: 500px;
    width: 100%;
    background: linear-gradient(145deg, var(--rich-navy), var(--deep-charcoal));
    border: 1px solid var(--metallic-gold);
    position: relative;
    overflow: hidden;
}

.pricing-table .feature-card:before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(201, 169, 109, 0.1) 0%, transparent 70%);
    transform: rotate(30deg);
    z-index: -1;
}

/* How It Works Section */
.how-it-works {
    padding: var(--spacing-xl) 0;
    background: var(--deep-charcoal);
}

.steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--spacing-lg);
}

.step {
    flex: 1;
    min-width: 250px;
    max-width: 280px;
    text-align: center;
    position: relative;
    padding-top: 70px;
}

.step-number {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    background: var(--metallic-gold);
    color: var(--rich-navy);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: bold;
    font-family: var(--heading-font);
}

.step h3 {
    margin-bottom: var(--spacing-xs);
}

/* CTA Section */
.cta {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(rgba(10, 25, 49, 0.9), rgba(10, 25, 49, 0.9)), 
                url('img/photo-1670241088042-e3ba14006380.jpg');
    background-size: cover;
    background-position: center;
    text-align: center;
}

.cta h2 {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
}

.cta p {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto var(--spacing-lg);
}

/* Footer */
.footer {
    background: var(--dark-gray);
    padding: var(--spacing-lg) 0 var(--spacing-sm);
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: var(--spacing-lg);
}

.footer-info h3 {
    color: var(--metallic-gold);
    margin-bottom: var(--spacing-sm);
}

.footer-info p {
    margin-bottom: var(--spacing-xs);
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
}

.footer-links ul li {
    margin: 0 var(--spacing-sm) var(--spacing-sm) 0;
}

.footer-links ul li a {
    color: var(--silver);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links ul li a:hover {
    color: var(--metallic-gold);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-sm);
    border-top: 1px solid rgba(192, 192, 192, 0.1);
}

.footer-bottom p {
    font-size: 0.9rem;
    margin: 0;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    h1 {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 2.2rem;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .step {
        min-width: 220px;
    }
}

@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: var(--rich-navy);
        transition: all 0.3s ease;
        z-index: 999;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .nav.active {
        right: 0;
    }
    
    .nav ul {
        flex-direction: column;
        align-items: center;
    }
    
    .nav ul li {
        margin: var(--spacing-sm) 0;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .btn {
        display: block;
        margin: var(--spacing-xs) auto;
        width: 80%;
        max-width: 250px;
    }
    
    .steps {
        flex-direction: column;
        align-items: center;
    }
    
    .step {
        width: 100%;
        max-width: 400px;
        margin-bottom: var(--spacing-lg);
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links ul {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-header h2:after {
        width: 50px;
    }
    
    .cta h2 {
        font-size: 2rem;
    }
    
    .cta p {
        font-size: 1.1rem;
    }
}