/* ==================== Reset & Base ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #c9a961;
    --secondary-color: #2d3436;
    --text-color: #2d3436;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

img {
    max-width: 100%;
    display: block;
}

/* ==================== Preloader ==================== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: var(--transition);
}

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

.loader {
    width: 50px;
    height: 50px;
    border: 3px solid var(--light-bg);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ==================== Navigation ==================== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: transparent;
    padding: 20px 0;
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    padding: 15px 0;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
    width: auto;
    transition: var(--transition);
}

.navbar.scrolled .logo img {
    height: 45px;
}

.logo h1 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--white);
    font-weight: 600;
    transition: var(--transition);
}

.navbar.scrolled .logo h1 {
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-link {
    text-decoration: none;
    color: var(--white);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    transition: var(--transition);
    letter-spacing: 0.5px;
}

.navbar.scrolled .nav-link {
    color: var(--text-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
}

.navbar.scrolled .hamburger span {
    background: var(--text-color);
}

/* ==================== Hero Slider ==================== */
.hero-slider {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide-bg {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.slide-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--white);
    z-index: 2;
    width: 90%;
    max-width: 900px;
}

.slide-content-fixed {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--white);
    z-index: 3;
    width: 90%;
    max-width: 900px;
    pointer-events: none;
}

.slide-content-fixed .btn {
    pointer-events: all;
}

.hero-title {
    font-family: 'Great Vibes', cursive;
    font-size: 5rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    letter-spacing: 2px;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 2.5rem;
    letter-spacing: 2px;
}

.slider-controls {
    position: absolute;
    bottom: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 40px;
    z-index: 3;
}

.slider-btn {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid var(--white);
    border-radius: 50%;
    color: var(--white);
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
    backdrop-filter: blur(5px);
}

.slider-btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: scale(1.1);
}

.slider-dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 3;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
}

.slider-dot.active {
    background: var(--primary-color);
    width: 40px;
    border-radius: 10px;
}

/* ==================== Buttons ==================== */
.btn {
    display: inline-block;
    padding: 16px 45px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: var(--transition);
    border-radius: 0;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-full {
    width: 100%;
}

/* ==================== Sections ==================== */
section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-header::before {
    content: attr(data-title);
    position: absolute;
    top: -115px;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Great Vibes', cursive;
    font-size: 6rem;
    font-weight: 400;
    color: rgba(201, 169, 97, 1);
    white-space: nowrap;
    z-index: 0;
    pointer-events: none;
    letter-spacing: 2px;
}

.section-tag {
    display: inline-block;
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    color: var(--text-color);
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.title-divider {
    width: 80px;
    height: 3px;
    background: var(--primary-color);
    margin: 0 auto 20px;
    position: relative;
    z-index: 1;
}

.section-description {
    font-size: 1.1rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* ==================== About Section ==================== */
.about-section {
    background: var(--light-bg);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
    overflow: hidden;
    border-radius: 5px;
}

.about-image img {
    width: 100%;
    height: 600px;
    object-fit: cover;
}

.about-text {
    padding: 20px 0;
}

.lead-text {
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 15px;
    line-height: 1.6;
}

.about-text p {
    margin-bottom: 15px;
    color: #555;
    font-size: 1rem;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 15px;
}

.feature-box {
    text-align: center;
    padding: 30px 20px;
    background: var(--white);
    border-radius: 5px;
    transition: var(--transition);
}

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

.feature-box i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.feature-box h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-color);
}

/* ==================== Services Section ==================== */
.services-section {
    background: var(--white);
}

.services-grid-modern {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card-modern {
    background: var(--white);
    overflow: hidden;
    position: relative;
    border-radius: 5px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.service-card-modern:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

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

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.7));
    opacity: 0;
    transition: var(--transition);
}

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

.service-content {
    padding: 35px 25px;
}

.service-icon-modern {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: -60px auto 20px;
    position: relative;
    z-index: 2;
}

.service-icon-modern i {
    font-size: 1.8rem;
    color: var(--white);
}

.service-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-color);
    text-align: center;
}

.service-content p {
    color: #666;
    margin-bottom: 20px;
    font-size: 0.95rem;
    line-height: 1.7;
    text-align: center;
}

.service-list {
    list-style: none;
}

.service-list li {
    padding: 8px 0;
    color: #555;
    font-size: 0.9rem;
}

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

/* ==================== Gallery Section ==================== */
.gallery-section {
    background: var(--light-bg);
}

.gallery-grid-modern {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-item-modern {
    position: relative;
    height: 350px;
    overflow: hidden;
    border-radius: 5px;
}

.gallery-item-modern img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ==================== Contact Section ==================== */
.contact-section {
    background: var(--white);
}

.contact-grid {
    display: flex;
    justify-content: center;
    margin-bottom: 60px;
}

.contact-info-modern {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 900px;
    width: 100%;
}

.info-card-modern {
    display: flex;
    align-items: center;
    gap: 25px;
    padding: 30px;
    background: var(--light-bg);
    border-radius: 5px;
    transition: var(--transition);
}

.info-card-modern:hover {
    background: var(--white);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transform: translateX(10px);
}

.info-icon-modern {
    width: 70px;
    height: 70px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-icon-modern i {
    font-size: 1.8rem;
    color: var(--white);
}

.info-content h4 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--text-color);
    font-weight: 600;
}

.info-content p,
.info-content a {
    color: #666;
    text-decoration: none;
    transition: var(--transition);
}

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

/* ==================== Contact Form ==================== */
.contact-form-modern {
    background: var(--light-bg);
    padding: 45px;
    border-radius: 5px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group-modern {
    margin-bottom: 25px;
}

.form-group-modern input,
.form-group-modern select,
.form-group-modern textarea {
    width: 100%;
    padding: 18px 20px;
    border: 1px solid #ddd;
    background: var(--white);
    font-size: 1rem;
    transition: var(--transition);
    font-family: 'Poppins', sans-serif;
    border-radius: 0;
}

.form-group-modern input:focus,
.form-group-modern select:focus,
.form-group-modern textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 5px 20px rgba(201, 169, 97, 0.1);
}

.form-group-modern textarea {
    resize: vertical;
}

/* ==================== Map ==================== */
.map-wrapper {
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

/* ==================== Footer ==================== */
.footer-modern {
    background: var(--secondary-color);
    color: var(--white);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-col h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.footer-col h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-col p {
    color: #bbb;
    line-height: 1.8;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: #bbb;
    text-decoration: none;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-col ul li i {
    color: var(--primary-color);
    margin-right: 10px;
    width: 20px;
}

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

/* ==================== Social Media Buttons ==================== */
.social-buttons {
    position: fixed;
    left: 30px;
    bottom: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 999;
}

.social-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    text-decoration: none;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
    animation: slideInLeft 0.6s ease forwards;
    opacity: 0;
}

.social-btn:nth-child(1) {
    animation-delay: 0.1s;
}

.social-btn:nth-child(2) {
    animation-delay: 0.2s;
}

.social-btn:nth-child(3) {
    animation-delay: 0.3s;
}

.social-btn:hover {
    transform: scale(1.15) translateX(5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.phone-btn {
    background: var(--primary-color);
}

.instagram-btn {
    background: var(--primary-color);
}

.whatsapp-btn {
    background: var(--primary-color);
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ==================== Scroll to Top ==================== */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.scroll-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background: var(--secondary-color);
    transform: translateY(-5px);
}

/* ==================== Animations ==================== */
.fade-in-up {
    animation: fadeInUp 1s ease forwards;
}

.fade-in-up-delay {
    animation: fadeInUp 1s ease 0.3s forwards;
    opacity: 0;
}

.fade-in-up-delay-2 {
    animation: fadeInUp 1s ease 0.6s forwards;
    opacity: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==================== Responsive Design ==================== */
@media (max-width: 1024px) {
    .services-grid-modern {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .about-features {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    /* Navigation */
    .hamburger {
        display: flex;
    }
    
    .nav-container {
        padding: 0 20px;
    }
    
    .logo img {
        height: 40px;
    }
    
    .logo h1 {
        font-size: 1.4rem;
    }
    
    .social-buttons {
        left: 15px;
        bottom: 15px;
        gap: 10px;
    }
    
    .social-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .section-header::before {
        font-size: 3.5rem;
        top: -57px;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: center;
        transition: var(--transition);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        padding: 20px 0;
        gap: 0;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        padding: 12px 0;
    }
    
    .nav-link {
        color: var(--text-color) !important;
        font-size: 1.1rem;
    }
    
    /* Hero */
    .hero-title {
        font-size: 3rem;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        letter-spacing: 1px;
    }
    
    .btn {
        padding: 14px 35px;
        font-size: 0.9rem;
    }
    
    /* Sections */
    section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }
    
    .section-tag {
        font-size: 0.85rem;
        letter-spacing: 2px;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    .section-description {
        font-size: 1rem;
    }
    
    /* About */
    .about-text {
        padding: 10px 0;
    }
    
    .lead-text {
        font-size: 1.1rem;
        margin-bottom: 15px;
    }
    
    .about-text p {
        font-size: 0.95rem;
        margin-bottom: 15px;
    }
    
    .about-image {
        margin-bottom: 30px;
    }
    
    .about-image img {
        height: 400px;
    }
    
    /* Services */
    .services-grid-modern {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .service-card-modern {
        margin-bottom: 10px;
    }
    
    .service-image {
        height: 220px;
    }
    
    .service-content {
        padding: 30px 20px;
    }
    
    .service-content h3 {
        font-size: 1.3rem;
    }
    
    .service-content p {
        font-size: 0.9rem;
    }
    
    /* Gallery */
    .gallery-grid-modern {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .gallery-item-modern {
        height: 280px;
    }
    
    /* Contact */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 40px;
    }
    
    .contact-info-modern {
        gap: 20px;
    }
    
    .map-wrapper iframe {
        height: 350px;
    }
    
    /* Footer */
    .footer-modern {
        padding: 40px 0 0;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 30px;
    }
    
    .footer-col h3 {
        font-size: 1.5rem;
    }
    
    .footer-col h4 {
        font-size: 1.1rem;
        margin-bottom: 15px;
    }
    
    .footer-col ul li {
        margin-bottom: 10px;
        font-size: 0.9rem;
    }
    
    .footer-bottom {
        padding: 20px 0;
        font-size: 0.85rem;
    }
    
    /* About Features */
    .about-features {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
        margin-top: 30px;
    }
    
    .feature-box {
        padding: 20px 10px;
    }
    
    .feature-box i {
        font-size: 1.8rem;
        margin-bottom: 10px;
    }
    
    .feature-box h4 {
        font-size: 0.85rem;
    }
    
    /* Form */
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .form-group-modern {
        margin-bottom: 18px;
    }
    
    /* Slider Controls */
    .slider-controls {
        padding: 0 15px;
    }
    
    .slider-btn {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
    
    .slider-dots {
        bottom: 25px;
        gap: 10px;
    }
    
    .slider-dot {
        width: 10px;
        height: 10px;
    }
    
    .slider-dot.active {
        width: 30px;
    }
    
    /* Scroll Top */
    .scroll-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
        font-size: 1rem;
    }
    
    /* Container */
    .container {
        padding: 0 15px;
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    .section-header::before {
        font-size: 2.5rem;
        top: -47px;
    }
    
    .about-features {
        gap: 10px;
    }
    
    .feature-box {
        padding: 15px 8px;
    }
    
    .feature-box i {
        font-size: 1.5rem;
        margin-bottom: 8px;
    }
    
    .feature-box h4 {
        font-size: 0.75rem;
        line-height: 1.3;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .btn {
        padding: 12px 30px;
        font-size: 0.85rem;
    }
    
    .social-btn {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .service-content h3 {
        font-size: 1.2rem;
    }
    
    .info-card-modern {
        flex-direction: column;
        text-align: center;
    }
}
