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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    color: #333;
    line-height: 1.7;
}

h1, h2, h3 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
}

/* Navigation */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    transition: background 0.3s ease;
}

.main-nav.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

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

.logo img {
    height: 83px;
    width: auto;
    transition: filter 0.3s ease;
}

.main-nav.scrolled .logo img {
    filter: none;
}

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

.nav-links a {
    text-decoration: none;
    color: #fff;
    font-size: 1.3rem;
    font-weight: 400;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: color 0.3s ease, opacity 0.3s ease;
}

.nav-links a:hover {
    opacity: 0.7;
}

.main-nav.scrolled .nav-links a {
    color: #333;
}

/* Property name in nav (for property pages) */
.nav-property-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    font-weight: 500;
    color: #333;
    letter-spacing: 2px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}

/* Rotating Background Slides */
.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    animation: slideAnimation 48s infinite;
    transform: scale(1.06);
}

.slide-1 {
    background-image: url('../images/splash/splash1.jpg');
    animation-delay: 0s;
}

.slide-2 {
    background-image: url('../images/splash/splash2.jpg');
    animation-delay: 12s;
}

.slide-3 {
    background-image: url('../images/splash/splash3.jpg');
    animation-delay: 24s;
}

.slide-4 {
    background-image: url('../images/splash/splash4.jpg');
    animation-delay: 36s;
}

@keyframes slideAnimation {
    0% {
        opacity: 0;
        transform: scale(1.06);
    }
    4% {
        opacity: 1;
    }
    21% {
        opacity: 1;
    }
    25% {
        opacity: 0;
        transform: scale(1);
    }
    100% {
        opacity: 0;
    }
}

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

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    z-index: 10;
}

.hero-content h1 {
    font-size: 4.5rem;
    font-weight: 400;
    letter-spacing: 8px;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.tagline {
    font-size: 1.2rem;
    font-weight: 300;
    letter-spacing: 4px;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    border: 1px solid #fff;
    color: #fff;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: #fff;
    color: #333;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.scroll-indicator span {
    display: block;
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.7);
    border-radius: 12px;
    position: relative;
}

.scroll-indicator span::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 2px;
    animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
    50% {
        transform: translateX(-50%) translateY(10px);
        opacity: 0.3;
    }
}

/* Properties Section */
.properties-section {
    padding: 8rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

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

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #333;
}

.section-header p {
    font-size: 1rem;
    color: #777;
    letter-spacing: 1px;
}

/* Location Headers */
.location-header {
    text-align: center;
    margin-bottom: 2rem;
    margin-top: 1rem;
}

.location-header:first-of-type {
    margin-top: 0;
}

.location-name {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    color: #888;
    letter-spacing: 3px;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
    padding: 0 1.5rem;
}

.location-name::before,
.location-name::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40px;
    height: 1px;
    background: #ddd;
}

.location-name::before {
    right: 100%;
}

.location-name::after {
    left: 100%;
}

.property-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.property-grid.bryson-city {
    margin-top: 0;
    margin-bottom: 2rem;
}

.property-card {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.4s ease;
}

.property-card:hover {
    transform: translateY(-8px);
}

.property-label {
    display: none;
}

.property-image {
    position: relative;
    width: 300px;
    height: 160px;
    overflow: visible;
}

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%),
                linear-gradient(to bottom, transparent 0%, black 8%, black 92%, transparent 100%);
    mask-composite: intersect;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%),
                        linear-gradient(to bottom, transparent 0%, black 8%, black 92%, transparent 100%);
    -webkit-mask-composite: source-in;
}

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

.property-info {
    padding: 1.2rem 0 0;
}

.property-info .specs {
    font-size: 0.85rem;
    color: #666;
    letter-spacing: 0.5px;
}

/* About Section */
.about-section {
    padding: 8rem 5%;
    background: #f8f8f8;
}

.about-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.about-content h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: #333;
}

.about-content p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.9;
}

/* Contact Section */
.contact-section {
    padding: 8rem 5%;
    text-align: center;
}

.contact-section h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #333;
}

.contact-section p {
    font-size: 1rem;
    color: #777;
    margin-bottom: 1.5rem;
}

.contact-link {
    display: inline-block;
    font-size: 1.1rem;
    color: #333;
    text-decoration: none;
    letter-spacing: 1px;
    border-bottom: 1px solid #333;
    padding-bottom: 2px;
    transition: opacity 0.3s ease;
}

.contact-link:hover {
    opacity: 0.6;
}

/* Amenities Highlight */
.amenities-highlight {
    margin-top: 2rem;
    font-size: 0.9rem;
    color: #888;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Nearby Attractions Section */
.attractions-section {
    padding: 8rem 5%;
    background: #f8f8f8;
}

.attractions-section .section-header {
    margin-bottom: 3rem;
}

.attractions-tabs {
    display: flex;
    justify-content: center;
    gap: 0;
    margin-bottom: 3rem;
}

.attractions-tab {
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    padding: 0.6rem 2rem;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #999;
    cursor: pointer;
    transition: color 0.3s ease, border-color 0.3s ease;
}

.attractions-tab:hover {
    color: #555;
}

.attractions-tab.active {
    color: #333;
    border-bottom-color: #333;
}

.attractions-location {
    display: none;
}

.attractions-location.active {
    display: block;
}

.attractions-content {
    max-width: 800px;
    margin: 0 auto;
}

.attractions-category {
    margin-bottom: 3rem;
}

.attractions-category:last-child {
    margin-bottom: 0;
}

.attractions-category h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 0.3rem;
}

.attractions-category .category-note {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 1.2rem;
}

.attractions-list {
    list-style: none;
}

.attractions-list li {
    padding: 0.6rem 0;
    border-bottom: 1px solid #e5e5e5;
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
}

.attractions-list li:last-child {
    border-bottom: none;
}

.attractions-list a {
    color: #333;
    font-weight: 500;
    text-decoration: none;
    border-bottom: 1px solid #ccc;
    transition: border-color 0.3s ease;
}

.attractions-list a:hover {
    border-color: #333;
}

.attractions-list .drive-time {
    color: #999;
    font-size: 0.85rem;
    margin-left: 0.3rem;
}

/* FAQ Section */
.faq-section {
    padding: 8rem 5%;
}

.faq-content {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid #eee;
    padding: 1.5rem 0;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.05rem;
    font-weight: 500;
    color: #333;
    margin-bottom: 0.8rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question::after {
    content: '+';
    font-size: 1.2rem;
    color: #999;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.8;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    margin-bottom: 0.8rem;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

.faq-answer a {
    color: #333;
    text-decoration: underline;
}

.faq-answer .property-specific {
    font-style: italic;
    color: #888;
    font-size: 0.85rem;
}

/* Footer */
footer {
    padding: 5rem 5% 3rem;
    background: #1a1a1a;
    color: #888;
    text-align: center;
}

.footer-poem {
    max-width: 500px;
    margin: 0 auto 3rem;
}

.poem-text {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 1.15rem;
    color: #999;
    line-height: 2;
    letter-spacing: 0.5px;
}

.poem-attribution {
    margin-top: 1.5rem;
    font-size: 0.85rem;
    color: #666;
    letter-spacing: 1px;
}

.copyright {
    font-size: 0.8rem;
    letter-spacing: 1px;
    color: #555;
}

.admin-link {
    color: inherit;
    text-decoration: none;
}

/* Responsive */
@media (max-width: 900px) {
    .main-nav {
        padding: 1rem 3%;
    }

    .logo img {
        height: 60px;
    }

    .nav-links {
        gap: 1.2rem;
    }

    .nav-links a {
        font-size: 0.85rem;
        letter-spacing: 1px;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
        letter-spacing: 4px;
    }

    .tagline {
        font-size: 1rem;
        letter-spacing: 2px;
    }

    .main-nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
        padding: 0.75rem 2%;
    }

    .logo {
        width: 100%;
        justify-content: center;
    }

    .logo img {
        height: 50px;
    }

    .nav-links {
        gap: 0.8rem;
        justify-content: center;
    }

    .nav-links a {
        font-size: 0.7rem;
        letter-spacing: 0.5px;
    }

    .section-header h2,
    .about-content h2,
    .contact-section h2 {
        font-size: 2.2rem;
    }

    .property-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem 1rem;
    }

    .property-image {
        width: 200px;
        height: 110px;
    }

    .property-label {
        font-size: 1.2rem;
        margin-bottom: 0.6rem;
    }
}
