/* --- RESET & GLOBAL VARIABLES --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --primary-color: #2F4F4F; /* Dark Slate Gray (Forest feel) */
    --accent-color: #C07848;  /* Earthy Copper/Orange */
    --text-dark: #333333;
    --text-light: #666666;
    --bg-light: #F9F9F9;
    --white: #ffffff;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-light);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

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

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

/* --- HEADER --- */

/* Increased header/navbar height */
header {
    background-color: var(--white);
    padding: 22px 0;              /* increased height */
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* Keep items vertically centered with taller header */
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 120px;            /* ensures consistent navbar height */
}

/* Increased logo size (fixed width 200px, responsive height) */
.logo img {
    width: 200px;
    height: auto;
    max-height: 120px;            /* prevents overflow */
    object-fit: contain;
}

/* Mobile adjustment to avoid crowding */
@media (max-width: 768px) {
    .header-container {
        min-height: 100px;
    }

    .logo img {
        width: 160px;
        max-height: 90px;
    }
}

/* Increased header/navbar height
header {
    background-color: var(--white);
    padding: 10px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo img {
    height: 80px; 
    width: auto;
    object-fit: content;
}*/

nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

nav ul li a {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--text-dark);
    font-weight: 700;
    padding-bottom: 5px;
    border-bottom: 2px solid transparent;
}

nav ul li a:hover,
nav ul li a.active {
    color: var(--accent-color);
    border-bottom-color: var(--accent-color);
}

.header-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
}

.header-phone a {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.phone-icon {
    font-size: 1.2rem;
}

/* --- HERO SECTIONS --- */
.hero {
    position: relative;
    background-color: var(--primary-color); 
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); 
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 20px;
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-content p {
    font-size: 1.3rem;
    font-weight: 300;
}

/* Specific Heroes */
.hero {
    /* Main Home Hero */
    background-image: url('images/new_slider_exterior.JPG');
    height: 60vh;
    min-height: 400px;
}

.hero-contact {
    /* Contact Hero */
    background-image: url('images/new_lake_cabin.JPG'); 
    background-color: #264040; 
    height: 40vh;
    min-height: 300px;
}

.hero-newsletter {
    /* Newsletter Hero - Use slider_interior.png for cozy feel */
    background-image: url('images/new_slider_interior.JPG'); 
    background-color: #3b2e2a;
    height: 40vh;
    min-height: 300px;
}


/* --- BUTTONS --- */
.btn {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 4px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--white);
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
}

.btn-primary:hover {
    background-color: #a36136;
    transform: translateY(-2px);
}

/* --- SECTION PADDING --- */
.section-padding {
    padding: 80px 0;
}

/* --- TABS (NEWSLETTER) --- */
.tabs-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    border-bottom: 2px solid #ddd;
}

.tab-btn {
    background: none;
    border: none;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    padding: 15px 30px;
    cursor: pointer;
    color: var(--text-light);
    border-bottom: 4px solid transparent;
    transition: all 0.3s;
}

.tab-btn:hover {
    color: var(--primary-color);
}

.tab-btn.active {
    color: var(--primary-color);
    border-bottom-color: var(--accent-color);
}

.tab-content {
    display: none; /* Hidden by default */
    animation: fadeIn 0.5s;
    max-width: 800px;
    margin: 0 auto;
}

.tab-content.active {
    display: block; /* Show when active */
}

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

/* Newsletter Items */
.news-item {
    margin-bottom: 30px;
}

.news-date {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 0.85rem;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 10px;
}

.news-item h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.news-divider {
    border: 0;
    border-top: 1px solid #ddd;
    margin: 40px 0;
}

.read-more {
    display: inline-block;
    margin-top: 10px;
    font-weight: 700;
    color: var(--accent-color);
}

/* Announcement Cards */
.announcement-card {
    background-color: var(--white);
    border-left: 5px solid var(--accent-color);
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    border-radius: 0 5px 5px 0;
}

.announcement-card h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

/* --- HOME INTRO --- */
.intro {
    padding: 80px 0;
    background-color: var(--white);
}

.intro-layout {
    display: flex;
    align-items: center;
    gap: 60px;
}

.intro-text { flex: 1; }
.intro-image { flex: 1; }

.intro-text h2 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.divider {
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
    margin-bottom: 25px;
}

.intro-image img {
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

/* --- CONTACT LAYOUT --- */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: start;
}

.contact-info h2, .contact-form-wrapper h2 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 20px;
}

.info-item h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--accent-color);
    margin-bottom: 5px;
}

.contact-form-wrapper {
    background-color: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

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

.form-group label {
    display: block;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--primary-color);
    font-size: 0.9rem;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 1rem;
    background-color: #fafafa;
}

/* --- FOOTER --- */
footer {
    background-color: #222;
    color: #ccc;
    padding-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #444;
}

.footer-col h3 {
    font-family: var(--font-heading);
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.footer-col p {
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.footer-col a { color: var(--accent-color); }

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links li a {
    color: #ccc;
    transition: color 0.2s;
}

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

.footer-phone {
    display: block;
    font-size: 1.5rem;
    color: var(--white) !important;
    margin-bottom: 15px;
    font-family: var(--font-heading);
}

.social-icons {
    display: flex;
    gap: 15px;
}

.copyright {
    text-align: center;
    padding: 20px 0;
    font-size: 0.85rem;
    color: #666;
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .header-container { flex-direction: column; gap: 15px; }
    nav ul { gap: 20px; }
    .intro-layout { flex-direction: column; }
    .intro-image { order: -1; width: 100%; }
    .contact-layout { grid-template-columns: 1fr; }
    .tabs-nav { flex-direction: column; gap: 0; border-bottom: none; }
    .tab-btn { width: 100%; border-bottom: 1px solid #ddd; padding: 15px; }
    .tab-btn.active { border-left: 5px solid var(--accent-color); border-bottom: 1px solid #ddd; }
}