/* Global Styles */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #e67e22;
    --accent-color: #3498db;
    --light-color: #f8f9fa;
    --dark-color: #2c3e50;
    --text-color: #333;
    --border-radius: 12px;
    --transition: all 0.3s ease-in-out;
    --navbar-height: 76px;
    --primary-color-rgb: 44, 62, 80;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: var(--navbar-height);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

/* Section spacing */
section {
    padding: 5rem 0;
    position: relative;
}

/* Navbar styles */
.navbar {
    transition: var(--transition);
    padding: 1rem 0;
    background-color: rgba(255, 255, 255, 0.95);
}

.navbar.scrolled {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-color) !important;
}

.navbar-toggler {
    padding: 0.5rem;
    margin-right: 0.5rem;
}

.nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    color: var(--primary-color) !important;
}

.cta-button {
    padding: 0.5rem 1.5rem;
    border-radius: var(--border-radius);
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    transition: var(--transition);
}

.cta-button:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    transform: translateY(-2px);
}

/* Hero section specific styles */
.hero-section {
    padding: 0;
    margin-top: calc(-1 * var(--navbar-height));
    height: 100vh;
    min-height: 600px;
    position: relative;
}

.hero-carousel {
    height: 100%;
}

.hero-carousel .item {
    height: 100vh;
    min-height: 600px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

.carousel-caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 100%;
    padding: 0 1rem;
    z-index: 2;
}

.carousel-caption h1 {
    font-size: 3.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 1rem;
}

.carousel-caption .lead {
    font-size: 1.5rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    margin-bottom: 2rem;
}

/* Carousel Controls */
.owl-nav button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.8) !important;
    border-radius: 50% !important;
    color: var(--primary-color) !important;
    font-size: 1.5rem !important;
    transition: var(--transition);
}

.owl-nav button:hover {
    background: white !important;
}

.owl-prev {
    left: 20px;
}

.owl-next {
    right: 20px;
}

.owl-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
}

.owl-dot span {
    background: rgba(255, 255, 255, 0.5) !important;
}

.owl-dot.active span {
    background: white !important;
}

/* Room types section specific styles */
.room-types-section {
    background-color: var(--light-color);
}

.room-card {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    height: 100%;
}

.room-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.room-card .carousel-item img {
    height: 300px;
    object-fit: cover;
}

/* Features section styles */
.feature-card {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.feature-card img {
    height: 250px;
    object-fit: cover;
}

/* Activities section styles */
.activity-card {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    height: 100%;
}

.activity-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.activity-card img {
    height: 250px;
    object-fit: cover;
}

.price {
    color: var(--secondary-color);
    font-weight: 700;
    margin-top: 1rem;
}

/* Gallery section styles */
.gallery-section img {
    border-radius: var(--border-radius);
    transition: var(--transition);
    cursor: pointer;
    height: 250px;
    object-fit: cover;
    width: 100%;
}

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

/* Apple Orchard Section styles */
.apple-orchard-section img {
    height: 240px;
    object-fit: cover;
    transition: var(--transition);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.apple-orchard-section img:hover {
    transform: scale(1.03);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.apple-orchard-section .card {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.apple-orchard-section .card-body {
    padding: 2rem;
}

.apple-orchard-section ul li {
    margin-bottom: 0.75rem;
}

/* Apple Plantation Section styles */
.apple-plantation-section {
    background-color: #f9f9f9;
}

.apple-plantation-section .feature-item {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.apple-plantation-section .feature-item:last-child {
    border-bottom: none;
}

.apple-plantation-section .plantation-placeholder {
    height: 100%;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #6c757d, #495057);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.apple-plantation-section .plantation-placeholder:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Contact section styles */
.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-right: 1rem;
    margin-top: 0.25rem;
}

.contact-item h4 {
    margin-bottom: 0.5rem;
}

.contact-item a {
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition);
}

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

/* Footer styles */
footer {
    background-color: var(--dark-color);
}

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

footer a:hover {
    color: var(--secondary-color);
    text-decoration: none;
}

.social-links a {
    display: inline-block;
    width: 35px;
    height: 35px;
    line-height: 35px;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin-right: 10px;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

/* Section title styles */
.section-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 3rem;
    text-align: center;
    position: relative;
    padding-bottom: 1.5rem;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, var(--secondary-color), var(--accent-color));
}

/* WhatsApp Button Styles */
.whatsapp-btn {
    background-color: #25d366;
    color: white !important;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    margin: 10px 0;
    transition: background-color 0.3s;
}
.whatsapp-btn:hover {
    background-color: #128c7e;
    text-decoration: none;
}
.whatsapp-btn i {
    margin-right: 10px;
    font-size: 1.2rem;
}

/* Testimonials */
.testimonial-card {
    background-color: #fff;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    margin: 1rem 0;
    position: relative;
}

.testimonial-content {
    margin-bottom: 1.5rem;
    position: relative;
    padding-top: 1.5rem;
}

.testimonial-content:before {
    content: '\201C';
    font-family: Georgia, serif;
    position: absolute;
    top: -1rem;
    left: -0.5rem;
    font-size: 5rem;
    color: var(--secondary-color);
    opacity: 0.2;
}

.testimonial-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-color);
    font-style: italic;
}

.testimonial-rating {
    margin-top: 1rem;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding-top: 1rem;
}

.testimonial-author h5 {
    margin-bottom: 0.2rem;
    color: var(--primary-color);
}

.testimonial-carousel .owl-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}

.testimonial-carousel .owl-nav button {
    width: 44px;
    height: 44px;
    background-color: rgba(255, 255, 255, 0.8) !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    pointer-events: auto;
    transition: var(--transition);
}

.testimonial-carousel .owl-nav button:hover {
    background-color: var(--secondary-color) !important;
    color: #fff;
}

.testimonial-carousel .owl-dots {
    margin-top: 1.5rem;
    text-align: center;
}

.testimonial-carousel .owl-dot span {
    background-color: rgba(0, 0, 0, 0.2);
}

.testimonial-carousel .owl-dot.active span {
    background-color: var(--secondary-color);
}

/* Developer Credit Styling */
.developer-credit {
    display: inline-block;
    padding: 8px 15px;
    margin: 10px auto;
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.9) 0%, rgba(52, 152, 219, 0.9) 100%);
    border-radius: 50px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.developer-credit:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.developer-label {
    color: #f8f9fa;
    font-size: 0.9rem;
    font-weight: 400;
    margin-right: 8px;
    letter-spacing: 0.5px;
}

.developer-link {
    text-decoration: none;
    transition: color 0.3s ease;
}

.developer-link:hover {
    text-decoration: none;
}

.developer-name {
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    color: #ffffff;
    letter-spacing: 1px;
}

.developer-highlight {
    color: #e67e22;
    font-weight: 800;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    /* Navigation adjustments */
    .navbar-nav {
        padding: 1rem 0;
    }
    
    .navbar-collapse {
        background-color: white;
        padding: 1rem;
        border-radius: var(--border-radius);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        margin-top: 0.5rem;
    }
    
    .nav-item {
        margin-bottom: 0.5rem;
    }
    
    .dropdown-menu {
        border: none;
        background-color: rgba(0, 0, 0, 0.05);
        padding: 0.5rem;
        margin-top: 0.5rem;
    }
    
    .dropdown-item {
        padding: 0.5rem 1rem;
        border-radius: var(--border-radius);
    }
    
    .navbar-nav .cta-button {
        margin-top: 1rem;
        text-align: center;
    }
}

@media (max-width: 768px) {
    :root {
        --navbar-height: 66px;
    }
    
    /* General adjustments */
    body {
        font-size: 15px;
    }
    
    /* Text sizing */
    .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    h3 {
        font-size: 1.5rem;
    }
    
    /* Spacing adjustments */
    section {
        padding: 3rem 0;
    }
    
    .py-5 {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }
    
    .my-5 {
        margin-top: 3rem !important;
        margin-bottom: 3rem !important;
    }
    
    /* Hero section adjustments */
    .hero-section {
        height: 80vh;
        min-height: 400px;
    }
    
    .hero-carousel .item {
        height: 80vh;
        min-height: 400px;
    }
    
    .carousel-caption h1 {
        font-size: 2.5rem;
    }
    
    .carousel-caption .lead {
        font-size: 1.2rem;
    }
    
    /* Card adjustments */
    .card {
        height: auto;
        margin-bottom: 2rem;
    }
    
    /* Form element sizing */
    .form-control {
        font-size: 1rem;
        height: calc(1.5em + 1rem + 2px);
        padding: 0.5rem 1rem;
    }
    
    /* Button sizing */
    .btn, .cta-button {
        font-size: 1rem;
        padding: 0.6rem 1.2rem;
    }
    
    /* Image adjustments */
    .room-card .carousel-item img {
        height: 240px;
    }
    
    .feature-card img,
    .activity-card img,
    .gallery-section img {
        height: 220px;
    }
    
    /* Navigation elements */
    .owl-nav button {
        width: 40px;
        height: 40px;
    }
    
    .testimonial-card {
        padding: 1.5rem;
    }
    
    .testimonial-content p {
        font-size: 1rem;
    }
    
    .testimonial-carousel .owl-nav {
        display: none;
    }
}

@media (max-width: 576px) {
    /* Text adjustments */
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    h3 {
        font-size: 1.3rem;
    }
    
    /* Hero adjustments */
    .hero-section {
        height: 70vh;
        min-height: 350px;
    }
    
    .hero-carousel .item {
        height: 70vh;
        min-height: 350px;
    }
    
    .carousel-caption {
        padding: 0 15px;
    }
    
    .carousel-caption h1 {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }
    
    .carousel-caption .lead {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    /* Image size adjustments */
    .feature-card img,
    .activity-card img {
        height: 200px;
    }
    
    .gallery-section img {
        height: 180px;
        margin-bottom: 1rem;
    }
    
    /* Card adjustments */
    .card-body {
        padding: 1.25rem;
    }
    
    /* Button adjustments */
    .btn, .cta-button {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }
    
    /* Spacing adjustments */
    .py-5 {
        padding-top: 2.5rem !important;
        padding-bottom: 2.5rem !important;
    }
    
    section {
        padding: 2.5rem 0;
    }
    
    /* Navigation elements */
    .owl-nav button {
        width: 35px;
        height: 35px;
    }
    
    /* Fix image heights */
    .room-card .carousel-item img {
        height: 200px;
    }
    
    /* Improve touch targets */
    .form-control, select.form-control {
        height: calc(2.5em + .75rem + 2px);
        font-size: 1rem;
    }
    
    input, select, textarea, button {
        font-size: 16px !important; /* Prevents zoom on iOS */
    }
    
    .developer-credit {
        padding: 6px 12px;
    }
    
    .developer-label, .developer-name {
        font-size: 0.85rem;
    }
}

/* Fix for iOS input zooming */
@media screen and (max-width: 768px) {
    input, select, textarea {
        font-size: 16px !important;
    }
}
