@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&family=Playfair+Display:ital,wght@0,400;0,600;1,400&display=swap');

:root {
    --primary: #D4AF37; /* Gold accent */
    --primary-light: #EBD37E;
    --bg-color: #000000; /* Pitch black for iOS Dark Mode */
    --text-dark: #FFFFFF; /* High contrast text */
    --text-muted: #A1A1A6; /* iOS gray text */
    --glass-bg: rgba(0, 0, 0, 0.5); /* Proper dark mode glass */
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-blur: blur(8px);
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    background-image: radial-gradient(circle at top right, rgba(44, 62, 45, 0.4) 0%, #000000 40%), 
                      radial-gradient(circle at bottom left, rgba(212, 175, 55, 0.15) 0%, #000000 40%);
    background-attachment: fixed;
    color: var(--text-dark);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

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

/* Navbar styles */
.navbar {
    background-color: rgba(20, 20, 25, 0.5) !important;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

.navbar-brand {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    font-size: 1.8rem;
    color: var(--text-dark) !important;
}

.navbar-brand i {
    color: var(--primary) !important;
}

.nav-link {
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7) !important;
    position: relative;
    padding: 0.5rem 1rem;
    margin: 0 0.2rem;
    transition: color 0.3s ease;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary);
    transition: width 0.3s ease;
}

.nav-link:hover::after, .nav-link.active::after {
    width: 80%;
}

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    color: #000 !important;
    border-radius: 30px;
    padding: 0.6rem 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--primary-light);
    border-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-secondary {
    background-color: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
    border-radius: 30px;
    padding: 0.6rem 1.5rem;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: var(--primary);
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
}
.btn-outline-primary:hover {
    background-color: var(--primary);
    color: #000;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 3rem;
    background: var(--glass-bg);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
    text-shadow: 0 4px 15px rgba(0,0,0,0.6);
}

.hero-title span {
    color: var(--primary) !important;
    text-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

.hero-subtitle {
    font-size: 1.2rem;
    font-family: 'Outfit', sans-serif;
    margin-bottom: 2rem;
    max-width: 600px;
    color: var(--text-dark);
    text-shadow: 0 2px 10px rgba(0,0,0,0.6);
}

/* Sections */
.section-padding {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-title h2 {
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
    text-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

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

/* Cards (Glassmorphism iOS style) */
.custom-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    transition: all 0.4s ease;
    height: 100%;
    color: var(--text-dark);
}

.custom-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    background: rgba(0, 0, 0, 0.3);
}

.custom-card .card-img-top {
    height: 250px;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.custom-card:hover .card-img-top {
    transform: scale(1.05);
}

.custom-card .card-body {
    padding: 2rem;
}

.custom-card .card-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.card-text.text-muted, .text-muted {
    color: var(--text-muted) !important;
}

/* Contact Form */
.contact-form {
    background: var(--glass-bg);
    color: var(--text-dark);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
}

.contact-form::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: var(--primary);
    opacity: 0.15;
    pointer-events: none;
}

.contact-form .text-primary {
    color: var(--primary) !important;
}

.contact-form .form-control, .contact-form .form-select {
    border: none;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    border-radius: 0;
    padding: 0.8rem 0;
    background: transparent;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.contact-form .form-control:focus, .contact-form .form-select:focus {
    box-shadow: none;
    border-color: var(--primary);
    background: transparent;
    color: var(--text-dark);
}

.contact-form .form-control::placeholder {
    color: transparent;
}

.contact-form .form-floating > label {
    color: var(--text-muted) !important;
}

.contact-form .form-floating > .form-control:focus ~ label,
.contact-form .form-floating > .form-control:not(:placeholder-shown) ~ label,
.contact-form .form-floating > .form-select ~ label {
    color: var(--primary) !important;
    transform: scale(0.85) translateY(-0.5rem) translateX(0.15rem);
}

.contact-form .form-select option {
    background-color: #1c1c1e;
    color: var(--text-dark);
}

/* Footer */
.footer {
    background-color: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--glass-border);
    color: var(--text-dark);
    padding: 60px 0 20px;
}

.footer h5 {
    color: var(--text-dark);
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--primary);
}

.footer-bottom {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Utils */
.bg-primary {
    background-color: var(--glass-bg) !important;
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
}
.text-primary {
    color: var(--primary) !important;
}
.text-secondary {
    color: var(--primary) !important;
}
.badge {
    background: var(--glass-bg) !important;
    border: 1px solid var(--glass-border) !important;
    color: var(--text-dark) !important;
}
.bg-white {
    background-color: var(--glass-bg) !important;
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
}
.text-dark {
    color: var(--text-dark) !important;
}
