/* ========================
   GLOBAL STYLES & VARIABLES
   ======================== */

:root {
    --primary-color: #C19A6B;
    --secondary-color: #2C3E50;
    --accent-color: #E8B87D;
    --dark-color: #1A1A1A;
    --light-color: #F8F9FA;
    --text-color: #333333;
    --border-color: #E0E0E0;
    --success-color: #28A745;
    --gradient-primary: linear-gradient(135deg, #C19A6B 0%, #E8B87D 100%);
    --gradient-dark: linear-gradient(135deg, #2C3E50 0%, #1A1A1A 100%);
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.15);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.2);
    --transition-fast: 0.3s ease;
    --transition-slow: 0.6s ease;
}

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

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

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.3;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    transition: var(--transition-fast);
}

/* ========================
   PAGE LOADER
   ======================== */

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1A1A1A 0%, #2C3E50 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-container {
    text-align: center;
}

.loader-circle {
    width: 80px;
    height: 80px;
    border: 4px solid rgba(193, 154, 107, 0.3);
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    margin: 0 auto 20px;
    animation: rotate 1s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loader-text {
    color: var(--primary-color);
    font-size: 24px;
    font-family: 'Playfair Display', serif;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* ========================
   NAVIGATION
   ======================== */

.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    padding: 15px 0;
    transition: all var(--transition-fast);
}

.navbar.scrolled {
    padding: 10px 0;
    box-shadow: var(--shadow-md);
}

.navbar-brand {
    font-family: 'Playfair Display', serif;
    font-size: 26px;
    font-weight: 700;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.navbar-brand:hover {
    color: var(--accent-color);
    transform: scale(1.05);
}

.navbar-brand i {
    font-size: 28px;
}

.nav-link {
    color: var(--dark-color);
    font-weight: 500;
    padding: 8px 16px;
    margin: 0 5px;
    border-radius: 8px;
    position: relative;
    transition: var(--transition-fast);
}

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

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

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

.dropdown-menu {
    border: none;
    box-shadow: var(--shadow-md);
    border-radius: 12px;
    padding: 10px;
    margin-top: 10px;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-item {
    padding: 10px 20px;
    border-radius: 8px;
    transition: var(--transition-fast);
}

.dropdown-item:hover {
    background: var(--gradient-primary);
    color: white;
    transform: translateX(5px);
}

.btn-quote {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: 30px;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-fast);
}

.btn-quote:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ========================
   HERO SECTION
   ======================== */

.hero-section {
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../images/modern_luxury_interi_edf7f56b.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(193,154,107,0.3) 0%, rgba(44,62,80,0.7) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
}

.hero-title {
    font-size: 64px;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-title .highlight {
    color: var(--accent-color);
    position: relative;
    display: inline-block;
}

.hero-subtitle {
    font-size: 22px;
    margin-bottom: 40px;
    color: rgba(255,255,255,0.9);
}

.hero-buttons {
    margin-bottom: 60px;
}

.hero-stats {
    display: flex;
    gap: 50px;
    margin-top: 40px;
}

.stat-item h3 {
    font-size: 48px;
    color: var(--accent-color);
    margin-bottom: 5px;
}

.stat-item p {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Animations */
.animate-slide-up {
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 0.8s ease forwards;
}

.animate-slide-up.delay-1 {
    animation-delay: 0.2s;
}

.animate-slide-up.delay-2 {
    animation-delay: 0.4s;
}

.animate-slide-up.delay-3 {
    animation-delay: 0.6s;
}

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid white;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    padding-top: 10px;
}

.wheel {
    width: 4px;
    height: 10px;
    background: white;
    border-radius: 2px;
    animation: scroll 1.5s ease infinite;
}

@keyframes scroll {
    0% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(15px); }
}

/* ========================
   FEATURED SECTION
   ======================== */

.featured-section {
    padding: 80px 0;
    background: white;
    margin-top: -50px;
    position: relative;
    z-index: 10;
}

.feature-card {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: var(--transition-fast);
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    color: white;
    font-size: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 20px;
    transition: var(--transition-fast);
}

.rotate-hover {
    transition: transform 0.6s ease;
}

.feature-card:hover .rotate-hover {
    transform: rotate(360deg);
}

.feature-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.feature-card p {
    color: #666;
    font-size: 15px;
}

/* ========================
   SECTION HEADERS
   ======================== */

.section-header {
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    background: var(--gradient-primary);
    color: white;
    padding: 8px 24px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.section-title {
    font-size: 48px;
    color: var(--dark-color);
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 18px;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

/* ========================
   SERVICES SECTION
   ======================== */

.services-section {
    padding: 100px 0;
    background: linear-gradient(to bottom, #f8f9fa 0%, white 100%);
}

.service-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-slow);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(193,154,107,0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.service-card:hover .service-overlay {
    opacity: 1;
}

.service-content {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    color: white;
    font-size: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    margin-bottom: 20px;
}

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

.service-content p {
    color: #666;
    margin-bottom: 20px;
    flex-grow: 1;
}

.service-features {
    list-style: none;
    padding: 0;
}

.service-features li {
    padding: 8px 0;
    color: #555;
    font-size: 14px;
}

.service-features i {
    color: var(--primary-color);
    margin-right: 10px;
}

/* ========================
   PORTFOLIO SECTION
   ======================== */

.portfolio-section {
    padding: 100px 0;
    background: white;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: var(--transition-fast);
}

.portfolio-item:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.portfolio-item img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding: 30px;
    opacity: 0;
    transition: opacity var(--transition-fast);
    color: white;
}

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

.portfolio-overlay h4 {
    font-size: 24px;
    margin-bottom: 5px;
}

.portfolio-overlay p {
    font-size: 14px;
    margin-bottom: 15px;
    opacity: 0.9;
}

/* ========================
   TESTIMONIALS
   ======================== */

.testimonials-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #2C3E50 0%, #1A1A1A 100%);
    color: white;
}

.testimonials-section .section-tag {
    background: var(--gradient-primary);
}

.testimonials-section .section-title {
    color: white;
}

.testimonial-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.1);
    transition: var(--transition-fast);
    height: 100%;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    background: rgba(255,255,255,0.15);
}

.stars {
    color: var(--accent-color);
    font-size: 18px;
    margin-bottom: 20px;
}

.testimonial-card p {
    font-size: 16px;
    font-style: italic;
    margin-bottom: 25px;
    line-height: 1.8;
}

.client-info h5 {
    font-size: 18px;
    margin-bottom: 5px;
    color: var(--accent-color);
}

.client-info span {
    font-size: 14px;
    opacity: 0.8;
}

/* ========================
   CTA SECTION
   ======================== */

.cta-section {
    padding: 80px 0;
    background: var(--gradient-primary);
    color: white;
}

.cta-section h2 {
    font-size: 42px;
    margin-bottom: 10px;
}

.cta-section p {
    font-size: 18px;
    opacity: 0.95;
}

/* ========================
   FOOTER
   ======================== */

.footer {
    background: #1A1A1A;
    color: white;
    padding: 60px 0 20px;
}

.footer h4,
.footer h5 {
    color: var(--accent-color);
    margin-bottom: 20px;
}

.footer p {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition-fast);
}

.social-links a:hover {
    transform: translateY(-3px) rotate(360deg);
    box-shadow: var(--shadow-md);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.footer-contact {
    list-style: none;
    padding: 0;
}

.footer-contact li {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    margin-bottom: 15px;
    display: flex;
    gap: 10px;
}

.footer-contact i {
    color: var(--accent-color);
    min-width: 20px;
}

.footer-bottom {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    font-size: 13px;
}

.footer-bottom a {
    color: var(--accent-color);
}

/* ========================
   WHATSAPP FLOATING BUTTON
   ======================== */

.whatsapp-float {
    position: fixed;
    left: 30px;
    bottom: 30px;
    background: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 32px;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    transition: var(--transition-fast);
    animation: bounce 2s infinite;
}

.whatsapp-float:hover {
    background: #128C7E;
    color: white;
    transform: scale(1.1);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* ========================
   MODALS
   ======================== */

.modal-content {
    border-radius: 16px;
    border: none;
}

.modal-header {
    background: var(--gradient-primary);
    color: white;
    border-radius: 16px 16px 0 0;
    border: none;
}

.modal-header .btn-close {
    filter: brightness(0) invert(1);
}

.modal-body {
    padding: 30px;
}

.form-label {
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 8px;
}

.form-control,
.form-select {
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 12px;
    transition: var(--transition-fast);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(193,154,107,0.25);
}

.success-icon {
    font-size: 80px;
    color: var(--success-color);
    animation: scaleIn 0.5s ease;
}

@keyframes scaleIn {
    from {
        transform: scale(0);
    }
    to {
        transform: scale(1);
    }
}

/* ========================
   BUTTONS
   ======================== */

.btn-primary {
    background: var(--gradient-primary);
    border: none;
    padding: 12px 32px;
    border-radius: 30px;
    font-weight: 600;
    transition: var(--transition-fast);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline-light {
    border: 2px solid white;
    color: white;
    padding: 12px 32px;
    border-radius: 30px;
    font-weight: 600;
    transition: var(--transition-fast);
}

.btn-outline-light:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* ========================
   RESPONSIVE DESIGN
   ======================== */

@media (max-width: 991px) {
    .hero-title {
        font-size: 42px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .hero-stats {
        gap: 30px;
    }
    
    .stat-item h3 {
        font-size: 36px;
    }
    
    .section-title {
        font-size: 36px;
    }
    
    .navbar-collapse {
        background: white;
        padding: 20px;
        border-radius: 12px;
        margin-top: 15px;
        box-shadow: var(--shadow-md);
    }
    
    .nav-link {
        padding: 10px;
    }
    
    .btn-quote {
        margin-top: 10px;
        width: 100%;
    }
}

@media (max-width: 767px) {
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin: 0 0 15px 0;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .section-subtitle {
        font-size: 16px;
    }
    
    .whatsapp-float {
        left: 20px;
        bottom: 20px;
        width: 50px;
        height: 50px;
        font-size: 28px;
    }
}

/* ========================
   SCROLL ANIMATIONS
   ======================== */

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.zoom-in {
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.zoom-in.visible {
    opacity: 1;
    transform: scale(1);
}
