/* Vileta Villa - Main Stylesheet */

/* Variables */
:root {
    --main-color: #4a6741;
    --accent-color: #d4a373;
    --bg-light: #f5f5f5;
    --text-dark: #333;
    --text-light: #f5f5f5;
}

/* Base Styles */
.villa-section * {
    box-sizing: border-box;
}

.villa-section {
    padding: 5rem 0;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

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

/* Typography */
.villa-section h1,
.villa-section h2,
.villa-section h3,
.villa-section h4,
.villa-section h5,
.villa-section h6 {
    margin-top: 0;
    font-weight: 600;
    line-height: 1.3;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--main-color);
    font-size: 2.5rem;
}

.subtitle {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 1.2rem;
    color: #666;
}

/* Header Styles */
.villa-header {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('/wp-content/uploads/2025/04/header-bg.jpg');
    background-color: #333; /* Fallback */
    background-size: cover;
    background-position: center;
    height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--text-light);
    padding: 0 20px;
    position: relative;
}

.villa-header h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: white;
}

.villa-header p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    max-width: 800px;
    color: white;
}

/* Navigation Styles */
.villa-nav {
    background-color: var(--main-color);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    width: 100%;
}

.villa-nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0;
}

.villa-nav ul li {
    margin: 0 15px;
}

.villa-nav ul li a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    transition: color 0.3s;
    display: block;
}

.villa-nav ul li a:hover {
    color: var(--accent-color);
}

/* Button Styles */
.btn {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--text-dark);
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #c1914a;
    text-decoration: none;
}

/* About Section */
.about-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
}

/* Accommodation Section */
.accommodation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 2rem;
}

.accommodation-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    height: 100%;
}

.accommodation-card:hover {
    transform: translateY(-10px);
}

.card-image {
    height: 250px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

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

.card-content {
    padding: 20px;
}

.card-content h3 {
    margin-bottom: 10px;
    color: var(--main-color);
}

.card-content ul {
    list-style-position: inside;
    margin-bottom: 15px;
    padding-left: 0;
}

.card-content p {
    margin-bottom: 15px;
}

/* Activities Section */
.activities {
    background-color: var(--main-color);
    color: var(--text-light);
}

.activities .section-title {
    color: var(--text-light);
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.activity-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s;
    height: 100%;
}

.activity-card:hover {
    transform: translateY(-10px);
    background-color: rgba(255, 255, 255, 0.2);
}

.activity-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Wildlife Section */
.wildlife {
    background-color: var(--bg-light);
}

.wildlife-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.wildlife-row {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.wildlife-card {
    flex: 1;
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.wildlife-image {
    height: 200px;
    overflow: hidden;
}

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

.wildlife-text {
    padding: 20px;
}

.wildlife-text h3 {
    color: var(--main-color);
    margin-bottom: 15px;
}

.wildlife-text p {
    margin-bottom: 15px;
}

.wildlife-text ul {
    padding-left: 20px;
    margin-bottom: 15px;
}

/* Events Section */
.events {
    background-color: #f9f9f9;
}

.events-flex {
    display: flex;
    justify-content: space-between;
    gap: 40px;
}

.events-text {
    flex: 1;
}

.events-text h3 {
    color: var(--main-color);
    margin: 20px 0 15px;
}

.events-text ul {
    padding-left: 20px;
    margin-bottom: 20px;
}

.events-text p {
    margin-bottom: 20px;
}

.events-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
}

.events-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
}

/* Menu Section */
.menu-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 15px;
}

.menu-table td {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.menu-price {
    text-align: right;
    font-weight: 500;
    white-space: nowrap;
}

.menu-notes {
    margin-top: 20px;
    font-style: italic;
    color: #666;
}

/* Contact Section */
.contact {
    background-color: var(--main-color);
    color: var(--text-light);
    text-align: center;
}

.contact .section-title {
    color: var(--text-light);
}

.contacat .subtitle {
    color: var(--text-light);
}

.contact-form {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

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

.form-control {
    width: 100%;
    padding: 12px;
    border-radius: 5px;
    border: none;
    font-size: 1rem;
    background-color: white;
}

textarea.form-control {
    height: 150px;
    resize: none;
}

.submit-btn {
    background-color: var(--accent-color);
    color: var(--text-dark);
    border: none;
    padding: 12px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background-color: #c1914a;
}

/* Footer Styles */
.villa-footer {
    background-color: #333;
    color: var(--text-light);
    padding: 2rem 0;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    list-style: none;
    margin-bottom: 1rem;
    padding: 0;
}

.footer-links li {
    margin: 0 15px;
}

.footer-links li a {
    color: var(--text-light);
    text-decoration: none;
}

.footer-links li a:hover {
    text-decoration: underline;
    color: var(--accent-color);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .section-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .villa-header h1 {
        font-size: 2.5rem;
    }
    
    .villa-header p {
        font-size: 1.2rem;
    }
    
    .villa-nav ul {
        flex-direction: column;
        align-items: center;
    }
    
    .villa-nav ul li {
        margin: 10px 0;
    }
    
    .about-content, 
    .events-flex,
    .wildlife-row {
        flex-direction: column;
    }
    
    .contact-form {
        grid-template-columns: 1fr;
    }
    
    .form-group.full {
        grid-column: 1;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .villa-header {
        height: 60vh;
    }
    
    .villa-header h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .accommodation-grid,
    .activities-grid {
        grid-template-columns: 1fr;
    }
    
    .card-image {
        height: 200px;
    }
}
