/* 
* Teotisobra - Luxury Travel Website
* Main Stylesheet
* Colors:
* - Primary: #d4af37 (Gold)
* - Secondary: #1a1a1a (Dark Gray)
* - Background: #ffffff (White)
* - Text: #333333 (Dark Gray)
* - Light text: #666666 (Medium Gray)
* - Accent: #f9f9f9 (Light Gray)
*/

/* Reset & Base Styles */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.6rem;
    line-height: 1.7;
    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.3;
    margin-bottom: 2rem;
    color: #1a1a1a;
}

h1 {
    font-size: 4.8rem;
}

h2 {
    font-size: 3.6rem;
}

h3 {
    font-size: 2.4rem;
}

h4 {
    font-size: 2rem;
}

p {
    margin-bottom: 1.5rem;
}

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

a:hover {
    color: #d4af37;
}

.btn-text {
    color: #d4af37;
    font-weight: 600;
    position: relative;
    display: inline-block;
}

.btn-text::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 1px;
    background-color: #d4af37;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.btn-text:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 1.2rem 3rem;
    border-radius: 0;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1.4rem;
}

.btn-primary {
    background-color: #d4af37;
    color: #fff;
}

.btn-primary:hover {
    background-color: #1a1a1a;
    color: #fff;
}

.btn-secondary {
    background-color: transparent;
    color: #1a1a1a;
    border: 1px solid #1a1a1a;
}

.btn-secondary:hover {
    background-color: #1a1a1a;
    color: #fff;
}

/* Layout & Container */
.container {
    width: 100%;
    max-width: 120rem;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 8rem 0;
}

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

.section-intro {
    font-size: 1.8rem;
    color: #666;
    max-width: 70rem;
    margin: 0 auto;
}

.separator {
    width: 6rem;
    height: 2px;
    background-color: #d4af37;
    margin: 0 auto 2rem;
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background-color: rgba(255, 255, 255, 0.95);
    padding: 2rem 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.site-header.scrolled {
    padding: 1rem 0;
    background-color: rgba(255, 255, 255, 0.95);
}

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

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

.logo a {
    display: block;
}

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

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 3rem;
}

.nav-links a {
    font-size: 1.4rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.btn-contact {
    padding: 0.8rem 1.5rem;
    border: 1px solid #d4af37;
    color: #d4af37;
    transition: all 0.3s ease;
}

.btn-contact:hover {
    background-color: #d4af37;
    color: #fff;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 3rem;
    height: 2.4rem;
    position: relative;
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #1a1a1a;
    position: absolute;
    left: 0;
    transition: all 0.3s ease;
}

.mobile-menu-toggle span:nth-child(1) {
    top: 0;
}

.mobile-menu-toggle span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.mobile-menu-toggle span:nth-child(3) {
    bottom: 0;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg);
    top: 50%;
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg);
    bottom: 50%;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 60rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-content {
    text-align: center;
    max-width: 80rem;
    padding: 0 2rem;
    color: #fff;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    color: #fff;
    margin-bottom: 1.5rem;
    text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 2rem;
    margin-bottom: 3rem;
    color: #fff;
    text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.3);
}

/* About Section */
.about-section {
    background-color: #fff;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 5rem;
}

.about-text {
    flex: 1;
}

.about-text h3 {
    color: #1a1a1a;
    margin-bottom: 2rem;
}

.about-text p {
    margin-bottom: 2.5rem;
}

.about-image {
    flex: 1;
    max-width: 50%;
}

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

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(30rem, 1fr));
    gap: 3rem;
}

.service-item {
    background-color: #fff;
    padding: 3rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: all 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.service-icon {
    margin-bottom: 2rem;
}

.service-item h3 {
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.service-item p {
    color: #666;
}

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

.destinations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(40rem, 1fr));
    gap: 4rem;
}

.destination-item {
    display: flex;
    flex-direction: column;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.destination-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.destination-image {
    position: relative;
    height: 25rem;
    overflow: hidden;
}

.destination-info {
    padding: 2rem;
    background-color: #fff;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.destination-info h3 {
    margin-bottom: 1rem;
}

.destination-info p {
    color: #666;
    margin-bottom: 2rem;
    flex-grow: 1;
}

/* Testimonials Section */
.testimonials-section {
    background-color: #f9f9f9;
    position: relative;
}

.testimonials-slider {
    position: relative;
    max-width: 80rem;
    margin: 0 auto;
    overflow: hidden;
}

.testimonial-item {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.testimonial-item.active {
    display: block;
    opacity: 1;
}

.testimonial-content {
    background-color: #fff;
    padding: 4rem;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
}

.testimonial-quote {
    position: absolute;
    top: 2rem;
    left: 2rem;
}

.testimonial-content p {
    font-style: italic;
    color: #666;
    margin: 3rem 0;
}

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

.author-avatar {
    width: 6rem;
    height: 6rem;
    margin-right: 2rem;
}

.author-info h4 {
    margin-bottom: 0.5rem;
    font-size: 1.8rem;
}

.author-info p {
    margin: 0;
    color: #666;
    font-size: 1.4rem;
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 3rem;
}

.testimonial-prev,
.testimonial-next {
    background: none;
    border: none;
    cursor: pointer;
    padding: 1rem;
}

.testimonial-dots {
    display: flex;
    margin: 0 2rem;
}

.dot {
    width: 1rem;
    height: 1rem;
    background-color: #ccc;
    border-radius: 50%;
    margin: 0 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background-color: #d4af37;
}

/* Newsletter Section */
.newsletter-section {
    background-color: #1a1a1a;
    color: #fff;
    padding: 6rem 0;
}

.newsletter-content {
    max-width: 60rem;
    margin: 0 auto;
    text-align: center;
}

.newsletter-content h2 {
    color: #fff;
    margin-bottom: 1.5rem;
}

.newsletter-content p {
    margin-bottom: 3rem;
    color: #ccc;
}

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

.form-group input {
    flex-grow: 1;
    padding: 1.5rem;
    font-size: 1.6rem;
    border: none;
}

.form-group button {
    padding: 0 3rem;
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    text-align: left;
}

.form-checkbox input {
    margin-top: 0.5rem;
    margin-right: 1rem;
}

.form-checkbox label {
    font-size: 1.4rem;
    color: #ccc;
}

.form-checkbox label a {
    color: #d4af37;
}

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

.contact-content {
    display: flex;
    gap: 5rem;
}

.contact-info,
.contact-form {
    flex: 1;
}

.contact-item {
    display: flex;
    margin-bottom: 3rem;
}

.contact-icon {
    margin-right: 2rem;
    display: flex;
    align-items: flex-start;
}

.contact-text h3 {
    margin-bottom: 0.5rem;
    font-size: 1.8rem;
}

.contact-text p {
    color: #666;
}

.social-links {
    margin-top: 4rem;
}

.social-links h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

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

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background-color: #f9f9f9;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: #d4af37;
}

.social-icons a:hover svg path {
    fill: #fff;
}

.contact-form h3 {
    margin-bottom: 2.5rem;
    font-size: 2.4rem;
}

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

.contact-form label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1.2rem;
    font-size: 1.6rem;
    border: 1px solid #ddd;
    transition: border 0.3s ease;
}

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

.contact-form textarea {
    resize: vertical;
    min-height: 12rem;
}

.contact-form button {
    margin-top: 1.5rem;
}

/* Footer */
.site-footer {
    background-color: #1a1a1a;
    color: #fff;
    padding: 6rem 0 3rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5rem;
}

.footer-logo {
    max-width: 25rem;
}

.footer-logo p {
    color: #ccc;
    margin-top: 1.5rem;
}

.footer-links {
    display: flex;
    gap: 5rem;
}

.footer-column h3 {
    color: #fff;
    font-size: 1.8rem;
    margin-bottom: 2rem;
}

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

.footer-column li {
    margin-bottom: 1rem;
}

.footer-column a {
    color: #ccc;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: #d4af37;
}

.contact-details li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.contact-details svg {
    margin-right: 1rem;
    margin-top: 0.3rem;
}

.footer-bottom {
    padding-top: 3rem;
    border-top: 1px solid #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: #ccc;
    font-size: 1.4rem;
    margin: 0;
}

.footer-bottom .social-icons a {
    width: 3.5rem;
    height: 3.5rem;
    background-color: #333;
}

/* Responsive Styles */
@media screen and (max-width: 1200px) {
    html {
        font-size: 60%;
    }
    
    .destinations-grid {
        grid-template-columns: repeat(auto-fill, minmax(35rem, 1fr));
    }
}

@media screen and (max-width: 992px) {
    html {
        font-size: 58%;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .about-image {
        max-width: 100%;
        margin-top: 3rem;
    }
    
    .contact-content {
        flex-direction: column;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 4rem;
    }
    
    .footer-links {
        gap: 3rem;
    }
}

@media screen and (max-width: 768px) {
    html {
        font-size: 56%;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 8rem;
        left: 0;
        width: 100%;
        height: 0;
        overflow: hidden;
        background-color: #fff;
        flex-direction: column;
        align-items: center;
        transition: all 0.3s ease;
    }
    
    .nav-links.active {
        height: auto;
        padding: 2rem 0;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }
    
    .nav-links li {
        margin: 1.5rem 0;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fill, minmax(25rem, 1fr));
    }
    
    .destinations-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonial-content {
        padding: 3rem 2rem;
    }
    
    .footer-links {
        flex-wrap: wrap;
    }
}

@media screen and (max-width: 576px) {
    html {
        font-size: 54%;
    }
    
    .hero-content h1 {
        font-size: 3.6rem;
    }
    
    .hero-content p {
        font-size: 1.8rem;
    }
    
    .section-header {
        margin-bottom: 3rem;
    }
    
    h2 {
        font-size: 3rem;
    }
    
    .form-group {
        flex-direction: column;
    }
    
    .form-group input {
        margin-bottom: 1.5rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
}
