/* --- CSS VARIABLES & THEME --- */
:root {
    --primary: #ffffff;
    --primary-dark: #1a1a1a;
    --accent: #d4af37; /* Metallic Gold */
    --accent-hover: #b89454;
    --text-dark: #2c3e50;
    --text-muted: #7f8c8d;
    --text-light: #ffffff;
    --bg-light: #fdfdfd;
    --card-bg: #ffffff;
    --header-bg: rgba(255, 255, 255, 0.98);
    --transition: all 0.3s ease;
}

/* --- CSS RESET & BASE --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

body.no-scroll {
    overflow: hidden;
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-dark);
}

/* --- KEYFRAMES ANIMATIONS --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

/* --- HEADER / NAVIGATION --- */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: transparent;
    backdrop-filter: blur(5px);
    padding: 20px 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: var(--transition);
    animation: fadeIn 1s ease;
}

header.scrolled {
    background-color: var(--header-bg);
    padding: 15px 8%;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}

.logo {
    color: var(--primary-dark);
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-decoration: none;
    transition: var(--transition);
}

.logo span {
    color: var(--accent);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--primary-dark);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
    z-index: 1001;
    padding: 5px;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
}

.nav-links a:hover, .nav-links a.active {
    color: var(--accent);
}

.mobile-cta-wrapper {
    display: none;
}

.cta-nav-btn {
    background: var(--accent);
    color: var(--text-light);
    padding: 10px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    border: none;
}

.cta-nav-btn:hover {
    background: var(--primary-dark);
    color: var(--text-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.cta-nav-btn i {
    margin-right: 8px;
}

/* --- HERO SECTION --- */
.hero {
    min-height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.7)), url('https://images.unsplash.com/photo-1618221195710-dd6b41faaea6?auto=format&fit=crop&w=1920&q=80') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
    color: var(--text-light);
    padding-top: 80px;
}

.hero-content {
    max-width: 800px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 15px;
    letter-spacing: 2px;
    color: var(--text-light);
    text-shadow: 0 4px 10px rgba(0,0,0,0.3);
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero p {
    font-size: 1.5rem;
    color: var(--accent);
    font-family: 'Playfair Display', serif;
    font-style: italic;
    margin-bottom: 40px;
    text-shadow: 0 2px 5px rgba(0,0,0,0.2);
    opacity: 0;
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
}

.hero-btns {
    opacity: 0;
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.6s forwards;
}

.btn-primary {
    background-color: var(--accent);
    color: var(--primary);
    padding: 15px 35px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 1px;
    transition: var(--transition);
    display: inline-block;
    box-shadow: 0 4px 15px rgba(184, 148, 84, 0.3);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(184, 148, 84, 0.5);
}

/* --- PRICING SECTION --- */
.pricing {
    padding: 100px 8%;
    background-color: var(--bg-light);
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--accent);
}

.section-subtitle {
    color: #666;
    margin-bottom: 60px;
    font-size: 1.1rem;
}

.pricing-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--card-bg);
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* Unified Pricing Card Style */
.pricing-card:nth-child(1),
.pricing-card:nth-child(2),
.pricing-card:nth-child(3) {
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.05);
    transform: none;
    z-index: 1;
}

.pricing-card:hover {
    background: linear-gradient(135deg, #fffcf5 0%, #fdf6e3 100%);
    border-color: var(--accent);
    transform: translateY(-10px);
    z-index: 2;
}

.pricing-card h3, 
.pricing-card .price,
.pricing-card .pricing-features li {
    color: var(--text-dark);
}

.pricing-card .price {
    color: var(--accent);
}

.pricing-card i {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 20px;
    animation: float 3s ease-in-out infinite;
}

.pricing-card h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--primary-dark);
    font-weight: 700;
}

.price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 25px;
}

.price span {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 400;
}

.pricing-features {
    list-style: none;
    margin-bottom: 30px;
    text-align: left;
    width: 100%;
    padding-left: 0;
}

.pricing-features li {
    margin-bottom: 12px;
    color: var(--text-dark);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pricing-features li i {
    font-size: 0.9rem;
    color: #2ecc71;
    margin-bottom: 0;
    animation: none;
}

/* --- CONTACT & LOCATION SECTION --- */
.contact-section {
    padding: 100px 8%;
    background-color: var(--primary);
    color: var(--text-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--text-light);
}

.contact-info p {
    color: #aaa;
    margin-bottom: 40px;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.info-item .icon-box {
    width: 60px;
    height: 60px;
    background: rgba(184, 148, 84, 0.1);
    border: 1px solid var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    transition: var(--transition);
}

.info-item:hover .icon-box {
    background: var(--accent);
}

.info-item:hover .icon-box i {
    color: var(--primary);
}

.info-item i {
    font-size: 1.5rem;
    color: var(--accent);
    transition: var(--transition);
}

.info-text h4 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent);
    margin-bottom: 5px;
}

.info-text a, .info-text p {
    color: #635904;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    transition: var(--transition);
}

.info-text a:hover {
    color: var(--accent);
}

.map-container {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
    height: 350px;
    border: 2px solid rgba(184, 148, 84, 0.2);
}

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

/* --- FOOTER --- */
footer {
    background-color: #111;
    padding: 30px 8%;
    text-align: center;
    color: #666;
    font-size: 0.9rem;
    border-top: 1px solid #222;
}

/* --- VIEW ANIMATIONS --- */
.ui-view-container {
    position: relative;
    min-height: 100vh;
}

[ui-view].ng-enter {
    animation: fadeIn 0.5s ease-in;
}

/* --- MODAL / SURVEY STYLES --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.survey-modal {
    background: var(--card-bg);
    width: 90%;
    max-width: 500px;
    padding: 40px;
    border-radius: 12px;
    position: relative;
    transform: translateY(50px);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 25px 50px rgba(0,0,0,0.3);
}

.modal-overlay.active .survey-modal {
    transform: translateY(0);
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #999;
    cursor: pointer;
    transition: var(--transition);
}

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

.survey-header {
    text-align: center;
    margin-bottom: 30px;
}

.survey-header h2 {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.survey-header p {
    color: #666;
    font-size: 0.95rem;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--primary);
}

.form-group select, .form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group select:focus, .form-group input:focus {
    border-color: var(--accent);
    outline: none;
    box-shadow: 0 0 0 3px rgba(184, 148, 84, 0.1);
}

.submit-survey {
    width: 100%;
    background: var(--accent);
    color: var(--primary);
    border: none;
    padding: 15px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

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

/* --- ENHANCED UI ELEMENTS --- */
.hero {
    background-attachment: fixed;
}

.pricing-card {
    border: none;
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 768px) {
    header {
        padding: 12px 5%;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    
    .logo {
        font-size: 14px;
        z-index: 1001;
        position: absolute;
        left: 43%;
        transform: translateX(-50%);
    }

    .mobile-menu-btn {
        display: block;
        order: -1; /* Keep it on the left */
        position: relative;
        z-index: 1002;
    }

    .desktop-cta {
        display: none;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: -100%;
        width: 75%;
        height: 100vh;
        background-color: var(--primary);
        flex-direction: column;
        justify-content: flex-start;
        padding: 100px 30px;
        gap: 25px;
        transition: var(--transition);
        z-index: 1000;
        box-shadow: 15px 0 40px rgba(0,0,0,0.1);
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links a {
        font-size: 1.1rem;
        padding: 10px 0;
        border-bottom: 1px solid #f0f0f0;
        width: 100%;
    }

    .mobile-cta-wrapper {
        display: block;
        width: 100%;
        margin-top: 20px;
    }

    .mobile-cta {
        display: inline-block;
        width: 100%;
        text-align: center;
        padding: 15px;
    }

    .hero {
        padding-top: 80px;
    }

    .hero h1 {
        font-size: 2.5rem;
        padding: 0 10px;
        line-height: 1.2;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .pricing, .contact-section {
        padding: 60px 5%;
    }

    .section-title {
        font-size: 2rem;
    }

    .survey-modal {
        padding: 30px 20px;
        width: 95%;
    }
}

/* --- TOAST NOTIFICATIONS --- */
md-toast.md-success-toast-theme .md-toast-content {
    background-color: #28a745 !important;
    color: white !important;
    font-weight: 600;
    border-radius: 50px;
    padding: 12px 30px;
}

md-toast.md-error-toast-theme .md-toast-content {
    background-color: #dc3545 !important;
    color: white !important;
    font-weight: 600;
    border-radius: 50px;
    padding: 12px 30px;
}

md-toast {
    position: fixed;
    z-index: 5000;
}
