/* Base Styles and CSS Variables */
:root {
    --primary-color: #D4A373;
    --secondary-color: #6B705C;
    --text-color: #333;
    --light-text: #666;
    --background-color: #fff;
    --light-bg: #F9F7F3;
    --dark-bg: #333;
    --accent-color: #E9C46A;
    --border-color: #ddd;
    --success-color: #4CAF50;
    --error-color: #F44336;
    --box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
    --border-radius: 8px;
    --max-width: 1200px;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Poppins', sans-serif;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 62.5%; /* 10px = 1rem */
}

body {
    font-family: var(--font-body);
    font-size: 1.6rem;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

p {
    margin-bottom: 1.5rem;
}

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

a:hover {
    color: var(--secondary-color);
}

ul {
    list-style: none;
}

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

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 3.6rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.divider {
    height: 3px;
    width: 60px;
    background-color: var(--primary-color);
    margin: 0 auto 1.5rem;
}

.subtitle {
    font-size: 1.8rem;
    color: var(--light-text);
    max-width: 700px;
    margin: 0 auto;
}

section {
    padding: 8rem 0;
}

section:nth-child(even) {
    background-color: var(--light-bg);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1.2rem 2.4rem;
    border-radius: var(--border-radius);
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1.6rem;
    border: none;
}

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

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

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

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

.full-width {
    width: 100%;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: var(--secondary-color);
    box-shadow: var(--box-shadow);
    padding: 1.5rem 0;
    transition: var(--transition);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-image {
    max-height: 80px;
    width: auto;
    display: block;
    transition: var(--transition);
    object-fit: contain;
}

.nav-menu {
    display: flex;
    align-items: center;
}

.nav-menu li {
    margin-left: 2.5rem;
}

.nav-menu a {
    color: #fff;
    font-weight: 500;
    font-size: 1.6rem;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--accent-color);
    transition: var(--transition);
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-cta {
    background-color: var(--accent-color);
    color: var(--secondary-color) !important;
    padding: 0.8rem 2rem;
    border-radius: var(--border-radius);
    font-weight: 600;
}

.nav-cta:hover {
    background-color: var(--primary-color);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #fff;
    margin-bottom: 5px;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(to right, rgba(35, 31, 32, 0.45), rgba(35, 31, 32, 0.35)), url('../images/styling-background.png') no-repeat center center/cover;
    display: flex;
    align-items: center;
    text-align: center;
    color: #fff;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23D4A373' fill-opacity='0.15'%3E%3Cpath d='M20 0c11.046 0 20 8.954 20 20s-8.954 20-20 20S0 31.046 0 20 8.954 0 20 0zm0 5c-8.284 0-15 6.716-15 15 0 8.284 6.716 15 15 15 8.284 0 15-6.716 15-15 0-8.284-6.716-15-15-15zm0 5c5.523 0 10 4.477 10 10s-4.477 10-10 10S10 25.523 10 20s4.477-10 10-10z'/%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.2;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 6rem;
    margin-bottom: 1rem;
    opacity: 0;
    animation: fadeUp 1s forwards 0.5s;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
    letter-spacing: 2px;
    font-weight: 700;
}

.hero-content h2 {
    font-size: 3rem;
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeUp 1s forwards 0.8s;
    font-weight: 400;
    color: var(--primary-color);
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.7);
}

.hero-content p {
    font-size: 1.8rem;
    margin-bottom: 3.5rem;
    opacity: 0;
    animation: fadeUp 1s forwards 1.1s;
    max-width: 75%;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}

.hero-content .btn {
    opacity: 0;
    animation: fadeUp 1s forwards 1.4s;
    padding: 1.6rem 3.5rem;
    font-size: 1.8rem;
    letter-spacing: 1.5px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.4s ease;
    border-radius: 50px;
    font-weight: 500;
}

.hero-decoration {
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    height: 50%;
    top: 25%;
    opacity: 0;
    animation: fadeIn 1.5s forwards 1.8s;
}

.hero-decoration.left {
    left: 5%;
}

.hero-decoration.right {
    right: 5%;
}

.hero-decoration i {
    font-size: 2.8rem;
    color: var(--primary-color);
    margin: 2.5rem 0;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
    opacity: 0.9;
    transform: rotate(-5deg);
    transition: all 0.4s ease;
}

.hero-decoration.right i {
    transform: rotate(5deg);
}

.hero-decoration i:hover {
    transform: scale(1.3) rotate(0);
    opacity: 1;
    color: var(--accent-color);
}

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

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

/* About Section */
.about-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
}

.about-text {
    max-width: 800px;
    text-align: center;
    margin: 0 auto;
}

.about-text p {
    font-size: 1.8rem;
    color: var(--text-color);
}

/* Why Choose Us Section */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-top: 2rem;
}

.feature-card {
    background-color: #fff;
    border-radius: var(--border-radius);
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

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

.feature-icon {
    font-size: 3.6rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.feature-card h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
}

.feature-card p {
    font-size: 1.6rem;
    color: var(--light-text);
}

/* Packages Section */
.package-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-top: 2rem;
}

.package-card {
    background-color: #fff;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

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

.package-card.featured {
    transform: scale(1.05);
    border: 2px solid var(--primary-color);
    position: relative;
}

.featured-tag {
    position: absolute;
    top: 0;
    right: 0;
    background-color: var(--primary-color);
    color: #fff;
    padding: 0.5rem 1rem;
    font-size: 1.2rem;
    border-bottom-left-radius: var(--border-radius);
}

.package-header {
    background-color: var(--secondary-color);
    color: #fff;
    padding: 2rem;
    text-align: center;
    position: relative;
}

.package-header h3 {
    font-size: 2.2rem;
    margin: 0;
}

.package-content {
    padding: 2rem;
    text-align: center;
}

.package-content p {
    margin-bottom: 2rem;
    min-height: 8rem;
}

.package-note {
    text-align: center;
    font-style: italic;
    color: var(--light-text);
    margin-top: 3rem;
}

/* Gallery Section */
.gallery-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
}

.filter-btn {
    background-color: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-color);
    padding: 0.8rem 1.5rem;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    font-size: 1.4rem;
}

.filter-btn:hover, .filter-btn.active {
    background-color: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
}

.gallery-item {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    height: 250px;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-image.placeholder {
    background-color: #f5f5f5;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--light-text);
}

.gallery-image.placeholder i {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* Testimonials Section */
.testimonial-slider {
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-slide {
    padding: 2rem;
}

.testimonial-content {
    background-color: #fff;
    border-radius: var(--border-radius);
    padding: 3rem;
    box-shadow: var(--box-shadow);
    text-align: center;
    position: relative;
}

.quote {
    font-size: 4rem;
    color: var(--primary-color);
    opacity: 0.3;
    position: absolute;
    top: 10px;
    left: 20px;
}

.testimonial-content p {
    font-size: 1.8rem;
    font-style: italic;
    margin: 2rem 0;
}

.testimonial-author h4 {
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

/* Contact Section */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    margin-top: 2rem;
}

.contact-info h3 {
    font-size: 2.4rem;
    margin-bottom: 2rem;
    color: var(--secondary-color);
}

.contact-methods {
    margin-top: 3rem;
}

.contact-method {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    font-size: 1.6rem;
}

.contact-method i {
    font-size: 2.4rem;
    color: var(--primary-color);
    margin-right: 1.5rem;
}

.contact-method.whatsapp {
    background-color: #25D366;
    color: #fff;
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius);
    display: inline-flex;
    margin-bottom: 2rem;
}

.contact-method.whatsapp i {
    color: #fff;
}

.contact-form {
    background-color: #fff;
    border-radius: var(--border-radius);
    padding: 3rem;
    box-shadow: var(--box-shadow);
}

.form-group {
    margin-bottom: 2rem;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 500;
}

input, select, textarea {
    width: 100%;
    padding: 1.2rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-family: var(--font-body);
    font-size: 1.6rem;
    transition: var(--transition);
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

textarea {
    resize: vertical;
}

/* Footer */
.footer {
    background-color: var(--dark-bg);
    color: #fff;
    padding: 5rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-logo h3 {
    font-size: 2.8rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo-image {
    max-width: 200px;
    height: auto;
    margin-bottom: 1rem;
    display: block;
    object-fit: contain;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links a {
    color: #ccc;
    transition: var(--transition);
}

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

.footer-social {
    display: flex;
    gap: 1.5rem;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #fff;
    transition: var(--transition);
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 1.4rem;
    color: #aaa;
}

/* Responsive Styles */
@media screen and (max-width: 992px) {
    html {
        font-size: 56.25%; /* 9px = 1rem */
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 768px) {
    html {
        font-size: 50%; /* 8px = 1rem */
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        right: -100%;
        flex-direction: column;
        background-color: var(--secondary-color);
        width: 80%;
        height: calc(100vh - 80px);
        padding: 2rem;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: var(--transition);
        align-items: flex-start;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu li {
        margin: 1.5rem 0;
    }
    
    .hero-content h1 {
        font-size: 4.2rem;
    }
    
    .hero-content h2 {
        font-size: 2.4rem;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    form {
        grid-template-columns: 1fr;
    }
    
    .hero-decoration {
        display: none;
    }
}

@media screen and (max-width: 576px) {
    .hero-content h1 {
        font-size: 3.6rem;
    }
    
    .hero-content h2 {
        font-size: 2.2rem;
    }
    
    .section-header h2 {
        font-size: 3rem;
    }
    
    .contact-method {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .contact-method i {
        margin-bottom: 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-links ul {
        align-items: center;
    }
    
    .footer-social {
        justify-content: center;
    }
}
