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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
    color: #2c1810;
}

h2 {
    font-size: 2.5rem;
    color: #2c1810;
}

h3 {
    font-size: 2rem;
    color: #2c1810;
}

h4 {
    font-size: 1.5rem;
    color: #2c1810;
}

p {
    margin-bottom: 1rem;
    color: #555;
}

a {
    color: #d4751f;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #b86216;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, #d4751f, #f39c3d);
    color: white;
    box-shadow: 0 4px 15px rgba(212, 117, 31, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #b86216, #d4751f);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 117, 31, 0.4);
}

.btn-secondary {
    background-color: #8b7355;
    color: white;
}

.btn-secondary:hover {
    background-color: #7a6449;
}

.btn-outline {
    background-color: transparent;
    color: #d4751f;
    border: 2px solid #d4751f;
}

.btn-outline:hover {
    background-color: #d4751f;
    color: white;
}

.btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.1rem;
}

/* Header and Navigation */
.header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.navbar {
    padding: 1rem 0;
}

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

.nav-logo a {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: #2c1810;
    text-decoration: none;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-weight: 600;
    color: #333;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #d4751f;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #d4751f;
    transition: width 0.3s ease;
}

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

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

.bar {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 6rem 2rem 4rem;
    background: linear-gradient(135deg, #f8f4e6 0%, #ede0c8 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="andalusia" patternUnits="userSpaceOnUse" width="50" height="50"><circle cx="25" cy="25" r="1" fill="%23d4751f" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23andalusia)"/></svg>') repeat;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    z-index: 2;
    position: relative;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #666;
    margin-bottom: 2rem;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
    position: relative;
}

/* SVG Images */
.hero-img, .about-img, .destination-img, .avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.hero-img {
    max-width: 500px;
    height: 300px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.hero-img:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.about-img {
    height: 400px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.about-img:hover {
    transform: scale(1.02);
}

.destination-img {
    height: 250px;
    border-radius: 15px 15px 0 0;
}

.destination-img:hover {
    transform: scale(1.05);
}

.avatar-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid #d4751f;
}

/* Image Placeholders (fallback) */
.image-placeholder {
    background: linear-gradient(135deg, #e9dcc9, #d4c4a0);
    border: 3px dashed #8b7355;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    color: #8b7355;
    width: 100%;
    max-width: 500px;
    height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

.image-placeholder:hover {
    background: linear-gradient(135deg, #d4c4a0, #c2b189);
    transform: translateY(-5px);
}

.image-placeholder i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.6;
}

.image-placeholder p {
    font-weight: 600;
    color: #8b7355;
    margin: 0;
}

/* Section Styles */
section {
    padding: 6rem 0;
}

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

.section-header h2 {
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Services Section */
.services {
    background-color: #f8f8f8;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: white;
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e9e9e9;
}

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

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #d4751f, #f39c3d);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.service-icon i {
    font-size: 2rem;
    color: white;
}

.service-card h3 {
    margin-bottom: 1rem;
    color: #2c1810;
}

.service-card p {
    color: #666;
    line-height: 1.7;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    margin-bottom: 1.5rem;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: #555;
    line-height: 1.8;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background-color: #f8f4e6;
    border-radius: 10px;
    border-left: 4px solid #d4751f;
}

.feature i {
    color: #d4751f;
    font-size: 1.5rem;
}

.feature span {
    font-weight: 600;
    color: #2c1810;
}

.about-image .image-placeholder {
    height: 400px;
}

/* Destinations Section */
.destinations {
    background-color: #f8f8f8;
}

.destinations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.destination-card {
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.destination-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.destination-image .image-placeholder {
    height: 250px;
    border-radius: 0;
    border: none;
}

.destination-content {
    padding: 2rem;
}

.destination-content h3 {
    margin-bottom: 1rem;
    color: #2c1810;
}

.destination-content p {
    color: #666;
    line-height: 1.7;
}

/* Testimonials Section */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background-color: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    border-left: 4px solid #d4751f;
}

.testimonial-content {
    margin-bottom: 2rem;
}

.testimonial-content p {
    font-style: italic;
    color: #555;
    line-height: 1.8;
    font-size: 1.1rem;
}

.testimonial-content p::before {
    content: '"';
    font-size: 3rem;
    color: #d4751f;
    opacity: 0.3;
    position: absolute;
    top: 1rem;
    left: 2rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar .image-placeholder {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid #d4751f;
    padding: 0.5rem;
}

.author-avatar .image-placeholder i {
    font-size: 1.5rem;
    margin: 0;
}

.author-avatar .image-placeholder p {
    display: none;
}

.author-info h4 {
    margin: 0;
    color: #2c1810;
    font-size: 1.1rem;
}

.author-info span {
    color: #888;
    font-size: 0.9rem;
}

/* Newsletter Section */
.newsletter {
    background: linear-gradient(135deg, #2c1810, #4a3526);
    color: white;
}

.newsletter-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.newsletter-text h2 {
    color: white;
    margin-bottom: 1rem;
}

.newsletter-text p {
    color: #ddd;
    font-size: 1.1rem;
}

.newsletter-form {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.form-group {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-group input {
    flex: 1;
    padding: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1rem;
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.form-group input:focus {
    outline: none;
    border-color: #d4751f;
    background-color: rgba(255, 255, 255, 0.2);
}

.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 10px;
    display: none;
    text-align: center;
    font-weight: 600;
}

.form-message.success {
    background-color: rgba(76, 175, 80, 0.2);
    color: #4caf50;
    border: 1px solid #4caf50;
}

.form-message.error {
    background-color: rgba(244, 67, 54, 0.2);
    color: #f44336;
    border: 1px solid #f44336;
}

/* Contact Section */
.contact {
    background-color: #f8f8f8;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #d4751f, #f39c3d);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    color: white;
    font-size: 1.2rem;
}

.contact-details h4 {
    margin-bottom: 0.5rem;
    color: #2c1810;
    font-size: 1.1rem;
}

.contact-details p {
    color: #666;
    margin: 0;
    line-height: 1.6;
}

.contact-form {
    background-color: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-form .form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.5rem;
}

.contact-form label {
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #2c1810;
}

.contact-form input,
.contact-form textarea {
    padding: 1rem;
    border: 2px solid #e9e9e9;
    border-radius: 10px;
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #d4751f;
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form .form-message {
    color: white;
}

/* Footer */
.footer {
    background-color: #2c1810;
    color: white;
    padding: 4rem 0 2rem;
}

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

.footer-section h3,
.footer-section h4 {
    color: white;
    margin-bottom: 1.5rem;
}

.footer-section p {
    color: #ddd;
    line-height: 1.7;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #ddd;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #d4751f;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #d4751f, #f39c3d);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(212, 117, 31, 0.4);
}

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    color: #aaa;
    margin: 0;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #2c1810;
    color: white;
    padding: 1.5rem;
    z-index: 10000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.cookie-content p {
    margin: 0;
    color: #ddd;
}

.cookie-actions {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.cookie-actions .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
}

/* Cookie Modal */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 10001;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.cookie-modal.show {
    display: flex;
}

.cookie-modal-content {
    background-color: white;
    padding: 2.5rem;
    border-radius: 15px;
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
}

.cookie-modal-content h3 {
    margin-bottom: 2rem;
    color: #2c1810;
}

.cookie-category {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background-color: #f8f8f8;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}

.cookie-category div {
    flex: 1;
}

.cookie-category h4 {
    margin-bottom: 0.5rem;
    color: #2c1810;
    font-size: 1.1rem;
}

.cookie-category p {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
}

.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
    flex-shrink: 0;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.3s;
    border-radius: 24px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #d4751f;
}

input:focus + .slider {
    box-shadow: 0 0 1px #d4751f;
}

input:checked + .slider:before {
    transform: translateX(26px);
}

input:disabled + .slider {
    background-color: #8b7355;
    cursor: not-allowed;
}

.cookie-modal-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
}

/* Legal Pages */
.legal-page {
    padding-top: 8rem;
    min-height: 100vh;
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem 4rem;
}

.legal-content h1 {
    margin-bottom: 0.5rem;
    color: #2c1810;
}

.last-updated {
    color: #888;
    font-style: italic;
    margin-bottom: 3rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e9e9e9;
}

.legal-section {
    margin-bottom: 3rem;
}

.legal-section h2 {
    color: #d4751f;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.legal-section h3 {
    color: #2c1810;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.legal-section ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.legal-section li {
    margin-bottom: 0.5rem;
    color: #555;
    line-height: 1.7;
}

.legal-section ol {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.legal-section ol li {
    margin-bottom: 0.5rem;
    color: #555;
    line-height: 1.7;
}

.contact-info {
    background-color: #f8f4e6;
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid #d4751f;
}

.cookies-table {
    overflow-x: auto;
    margin: 1.5rem 0;
}

.cookies-table table {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

.cookies-table th,
.cookies-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #e9e9e9;
}

.cookies-table th {
    background-color: #d4751f;
    color: white;
    font-weight: 600;
}

.cookies-table tr:last-child td {
    border-bottom: none;
}

.cookies-table tr:nth-child(even) {
    background-color: #f8f8f8;
}

.cookie-settings-section {
    background-color: #f8f4e6;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    margin: 3rem 0;
    border: 2px solid #d4751f;
}

.back-link {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid #e9e9e9;
}

/* Thank You Page */
.thank-you-page {
    padding-top: 8rem;
    min-height: 100vh;
    background: linear-gradient(135deg, #f8f4e6 0%, #ede0c8 100%);
}

.thank-you-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.thank-you-icon {
    margin-bottom: 2rem;
}

.thank-you-icon i {
    font-size: 5rem;
    color: #4caf50;
}

.thank-you-content h1 {
    margin-bottom: 1.5rem;
    color: #2c1810;
}

.thank-you-message {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 3rem;
    line-height: 1.8;
}

.next-steps {
    margin: 4rem 0;
}

.next-steps h2 {
    margin-bottom: 3rem;
    color: #2c1810;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.step {
    background-color: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.step-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #d4751f, #f39c3d);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.step-icon i {
    color: white;
    font-size: 1.5rem;
}

.step h3 {
    margin-bottom: 1rem;
    color: #2c1810;
}

.step p {
    color: #666;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin: 3rem 0;
}

.special-offer {
    background: linear-gradient(135deg, #d4751f, #f39c3d);
    color: white;
    padding: 2.5rem;
    border-radius: 15px;
    margin-top: 3rem;
}

.special-offer h3 {
    color: white;
    margin-bottom: 1rem;
}

.special-offer p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    line-height: 1.7;
}

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

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

.animate-on-scroll {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mb-0 {
    margin-bottom: 0;
}

.mb-1 {
    margin-bottom: 1rem;
}

.mb-2 {
    margin-bottom: 2rem;
}

.mt-0 {
    margin-top: 0;
}

.mt-1 {
    margin-top: 1rem;
}

.mt-2 {
    margin-top: 2rem;
}

.hidden {
    display: none;
}

.visible {
    display: block;
}
