/* ==================== GLOBAL STYLES ==================== */
:root {
    --primary-color: #1a1a2e;
    --secondary-color: #c5a880;
    --accent-color: #e8b86d;
    --dark-color: #0f0f1e;
    --light-color: #f5f5f5;
    --text-color: #333;
    --text-muted: #6c757d;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--text-color);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
}

/* ==================== NAVBAR STYLES ==================== */
.navbar {
    background: rgba(26, 26, 46, 0.95) !important;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    padding: 1rem 0;
}

.navbar.scrolled {
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

.navbar-brand {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: white !important;
}

.navbar-nav .nav-link {
    color: rgba(255,255,255,0.8) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--accent-color) !important;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 60%;
}

/* ==================== HERO SECTION ==================== */
.hero-section {
    height: 100vh;
    background: linear-gradient(rgba(26, 26, 46, 0.7), rgba(26, 26, 46, 0.7)),
                url('https://images.unsplash.com/photo-1589829545856-d10d557cf95f?w=1920') center/cover fixed;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.parallax {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.hero-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 26, 46, 0.7);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    font-size: 5rem;
    line-height: 1.2;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
}

.hero-section .lead {
    font-size: 1.5rem;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.5);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 2rem;
    animation: bounce 2s infinite;
    z-index: 2;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-20px);
    }
    60% {
        transform: translateX(-50%) translateY(-10px);
    }
}

/* Animation classes */
.animate-fade-in {
    animation: fadeIn 1s ease-in;
}

.animate-fade-in-delay {
    animation: fadeIn 1s ease-in 0.3s backwards;
}

.animate-fade-in-delay-2 {
    animation: fadeIn 1s ease-in 0.6s backwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==================== BUTTONS ==================== */
.btn-primary {
    background: var(--secondary-color);
    border: none;
    padding: 12px 30px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(197, 168, 128, 0.4);
}

.btn-outline-light:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* ==================== SECTION STYLES ==================== */
section {
    padding: 100px 0;
}

.section-header .badge {
    font-size: 0.9rem;
    padding: 8px 20px;
    font-weight: 500;
    letter-spacing: 1px;
}

.bg-primary {
    background-color: var(--secondary-color) !important;
}

/* ==================== ABOUT SECTION ==================== */
.about-image {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    transition: transform 0.5s ease;
}

.about-image:hover {
    transform: scale(1.02);
}

.about-image img {
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.1);
}

.stat-card {
    padding: 20px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.stat-card:hover {
    background: var(--light-color);
    transform: translateY(-5px);
}

/* ==================== PARALLAX DIVIDERS ==================== */
.parallax-divider {
    height: 400px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.parallax-1 {
    background-image: linear-gradient(rgba(26, 26, 46, 0.8), rgba(26, 26, 46, 0.8)),
                      url('https://images.unsplash.com/photo-1505664194779-8beaceb93744?w=1920');
}

.parallax-2 {
    background-image: linear-gradient(rgba(26, 26, 46, 0.85), rgba(26, 26, 46, 0.85)),
                      url('https://images.unsplash.com/photo-1497366216548-37526070297c?w=1920');
}

.parallax-divider .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.feature-box {
    text-align: center;
    padding: 20px;
    transition: all 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-10px);
}

/* ==================== SERVICE CARDS ==================== */
.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.service-icon i {
    font-size: 2rem;
    color: white;
}

.service-card:hover .service-icon {
    transform: rotateY(360deg);
}

.service-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.service-link:hover {
    color: var(--accent-color);
}

.service-link i {
    transition: transform 0.3s ease;
}

.service-link:hover i {
    transform: translateX(5px);
}

/* ==================== TEAM SECTION ==================== */
.team-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

.team-image {
    position: relative;
    overflow: hidden;
    height: 350px;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-card:hover .team-image img {
    transform: scale(1.1);
}

.team-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 26, 46, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.team-card:hover .team-overlay {
    opacity: 1;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: var(--secondary-color);
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    margin: 0 5px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--accent-color);
    transform: translateY(-5px);
}

.team-info {
    padding: 25px;
    text-align: center;
}

/* ==================== TESTIMONIALS ==================== */
.testimonial-card {
    background: white;
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
    height: 100%;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 5rem;
    color: var(--secondary-color);
    opacity: 0.2;
    font-family: Georgia, serif;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

.stars i {
    font-size: 1rem;
}

.client-info h5 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

/* ==================== CONTACT SECTION ==================== */
.contact-info .info-item {
    display: flex;
    align-items: flex-start;
}

.contact-info .icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
}

.contact-info .icon i {
    color: white;
    font-size: 1.2rem;
}

.contact-form {
    background: var(--light-color);
    padding: 40px;
    border-radius: 10px;
}

.form-control,
.form-select {
    padding: 12px 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 0.2rem rgba(197, 168, 128, 0.25);
}

.form-label {
    font-weight: 500;
    margin-bottom: 8px;
}

/* ==================== FOOTER ==================== */
footer {
    background: var(--dark-color);
}

footer .social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    transition: all 0.3s ease;
}

footer .social-links a:hover {
    background: var(--secondary-color);
    transform: translateY(-5px);
}

footer a {
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--accent-color) !important;
}

.newsletter-form .input-group {
    border-radius: 5px;
    overflow: hidden;
}

.newsletter-form .form-control {
    border: none;
}

.newsletter-form .btn {
    border-radius: 0;
}

/* ==================== BACK TO TOP BUTTON ==================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--secondary-color);
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--accent-color);
    transform: translateY(-5px);
}

/* ==================== RESPONSIVE STYLES ==================== */
@media (max-width: 991px) {
    .hero-section h1 {
        font-size: 3rem;
    }
    
    .hero-section .lead {
        font-size: 1.2rem;
    }
    
    .parallax,
    .parallax-divider {
        background-attachment: scroll;
    }
}

@media (max-width: 767px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    section {
        padding: 60px 0;
    }
    
    .parallax-divider {
        height: 300px;
    }
    
    .team-image {
        height: 300px;
    }
}

/* ==================== SCROLL ANIMATIONS ==================== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==================== UTILITIES ==================== */
.text-primary {
    color: var(--secondary-color) !important;
}

.bg-light {
    background-color: #fafafa !important;
}
