/* Zoky Saunascape V2 - Complete Styles */

* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --cream: #F2E8D5;       /* Soft Sand */
    --sand-light: #FDFBF7;  /* Very light beach sand (Replaces White) */
    --gold: #C2B280;        /* Deeper Sand/Gold */
    --charcoal: #3D3D3D;    /* Driftwood/Wet Stone */
    --sea-glass: #A3C1AD;   /* Optional accent color */
}


body {
    background-color: var(--sand-light); /* No more pure white */
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--charcoal);
    line-height: 1.6;
}

/* Hero Carousel Container */
.hero-carousel {
    position: relative;
    height: 80vh; /* Or your preferred height */
    overflow: hidden;
    background: #000;
}

/* Adjusted Logo Styles */
.logo { 
    display: flex; 
    align-items: center; 
    text-decoration: none; 
    padding: 5px 0; /* Gives the logo a little breathing room */
}

.site-logo { 
    height: 80px;      /* Doubled the size from 40px */
    width: auto;       /* Maintains aspect ratio */
    display: block; 
    transition: transform 0.3s ease; /* Subtle hover effect for extra polish */
}

.site-logo:hover {
    transform: scale(1.05); /* Slightly enlarges on hover */
}

/* Ensure the header expands to fit the larger logo */
header { 
    background: white; 
    padding: 10px 0;   /* Reduced vertical padding since the logo is taller */
    box-shadow: 0 2px 10px rgba(0,0,0,0.05); 
    position: sticky; 
    top: 0; 
    z-index: 1000; 
}

.post-hero { 
    height: 60vh; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    text-align: center; 
    color: white; 
    background-size: cover; 
    background-position: center;
}
.main-text { 
    max-width: 800px; 
    margin: -50px auto 100px; 
    background: white; 
    padding: 60px; 
    border-radius: 15px; 
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
    position: relative;
    line-height: 1.8;
}

.carousel-container {
    height: 100%;
    width: 100%;
}

.footer-socials {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 30px 0;
}

.footer-socials a {
    color: white;
    background: rgba(255, 255, 255, 0.1);
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 20px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer-socials a:hover {
    background: var(--gold);
    color: white;
    transform: translateY(-3px);
}

/* Individual Slides */
.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0; /* Hidden by default */
    transition: opacity 1.5s ease-in-out; /* The "Running" effect */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* The Visible Slide */
.slide.active {
    opacity: 1;
    z-index: 1;
}

.hero-content {
    color: white;
    z-index: 10;
    position: relative;
}

.sauna-atlas-logo {
    display: inline-block;
    margin: 0 10px;
}

.sauna-atlas-logo img {
    width: 80px; 
    height: 80px;
    border-radius: 50%; /* This makes the image a circle */
    object-fit: cover;
    border: 2px solid #A89968; /* Using your gold color */
    background: white; /* Optional: adds a background if logos are transparent */
    transition: transform 0.3s ease;
}

.sauna-atlas-logo img:hover {
    transform: scale(1.1);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 40px;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), #999;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 80px 20px;
}

.hero-content {
    max-width: 800px;
}

.hero h1 {
    font-size: 64px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 22px;
    line-height: 1.6;
    margin-bottom: 40px;
}

.cta-button {
    display: inline-block;
    padding: 18px 45px;
    background: var(--sun);
    color: var(--white);
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s;
    font-size: 16px;
}

.cta-button:hover {
    background: var(--dark-gold);
    transform: translateY(-2px);
}

/* Residency Section */
.residency-section {
    background: var(--charcoal);
    color: white;
    padding: 100px 40px;
}

.residency-section h2 {
    color: #1a1a1a; /* Darker heading */
}

.residency-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.residency-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}

.residency-content h2 {
    font-size: 48px;
    margin-bottom: 20px;
    color: var(--gold);
}

.residency-schedule {
    font-size: 20px;
    color: var(--beige);
    margin-bottom: 20px;
}

/* Fix for White-on-White text in Residency Section */
.residency-section {
    color: #333; /* Ensures general text is dark gray */
}

.residency-section h2 {
    color: #1a1a1a; /* Darker heading */
}

.residency-schedule {
    color: #444 !important; /* Forces the date/time text to be visible */
    font-size: 1.1rem;
    margin-bottom: 15px;
    display: block;
}

.residency-content-html {
    color: #555; /* Slightly softer dark for the body text */
}

/* Specific button contrast for Residency */
.btn-secondary {
    background-color: #f0f0f0;
    color: #333;
    border: 1px solid #ddd;
}

.btn-secondary:hover {
    background-color: #e0e0e0;
}

.residency-description {
    font-size: 18px;
    color: #ccc;
    margin-bottom: 30px;
}

.residency-content-html {
    color: #ccc;
    margin-bottom: 40px;
    line-height: 1.8;
}

.residency-content-html h2, 
.residency-content-html h3 {
    color: var(--gold);
    margin: 25px 0 15px;
}

.residency-content-html ul {
    margin-left: 25px;
    margin-bottom: 20px;
}

.residency-content-html li {
    margin-bottom: 8px;
}

.residency-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-residency {
    padding: 18px 40px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
}

.btn-residency.btn-primary {
    background: var(--gold);
    color: white;
}

.btn-residency.btn-primary:hover {
    background: var(--dark-gold);
}

.btn-residency.btn-secondary {
    background: white;
    color: var(--charcoal);
}

.btn-residency.btn-secondary:hover {
    background: var(--cream);
}

/* Featured Categories */
.featured-categories-section {
    background: var(--gold);
    padding: 80px 40px;
}

.featured-categories-section .section-header h2 {
    color: white;
}

.featured-categories-section .section-header p {
    color: var(--cream);
}

.featured-categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.featured-category-card {
    background: white;
    padding: 50px 35px;
    border-radius: 12px;
    text-align: center;
    text-decoration: none;
    display: block;
    transition: all 0.3s;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.featured-category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.25);
}

.featured-category-icon {
    font-size: 72px;
    margin-bottom: 20px;
}

.featured-category-name {
    font-size: 28px;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 15px;
}

.featured-category-description {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.7;
}

.featured-category-count {
    display: inline-block;
    background: var(--cream);
    color: var(--gold);
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
}

/* Categories Section */
.categories-section {
    background: var(--cream);
    padding: 100px 40px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 48px;
    margin-bottom: 15px;
    color: var(--charcoal);
}

.section-header p {
    font-size: 20px;
    color: #666;
}

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

.category-card {
    background: white;
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s;
    text-decoration: none;
    display: block;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.category-icon {
    font-size: 64px;
    margin-bottom: 20px;
}

.category-name {
    font-size: 24px;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 12px;
}

.category-description {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
}

.category-count {
    display: inline-block;
    background: var(--cream);
    color: var(--gold);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

/* Events Section */
.events-section {
    background: white;
    padding: 100px 40px;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 35px;
}

.event-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s;
}

.event-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

.event-image {
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.event-content {
    padding: 30px;
}

.event-category {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--cream);
    color: var(--gold);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 15px;
}

.event-date {
    display: inline-block;
    background: var(--cream);
    color: var(--gold);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 15px;
    margin-left: 8px;
}

.event-title {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--charcoal);
    font-weight: 700;
}

.event-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.btn-book {
    display: block;
    width: 100%;
    padding: 14px;
    background: var(--gold);
    color: white;
    text-decoration: none;
    text-align: center;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-book:hover {
    background: var(--dark-gold);
}

.section-cta {
    text-align: center;
    margin-top: 50px;
}

/* Page Hero */
.page-hero {
    background: var(--cream);
    padding: 80px 40px;
    text-align: center;
}

.page-hero h1 {
    font-size: 52px;
    color: var(--charcoal);
    margin-bottom: 15px;
}

.page-hero p {
    font-size: 20px;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

/* Page Content */
.page-content {
    max-width: 900px;
    line-height: 1.8;
}

.page-content h2 {
    font-size: 36px;
    margin: 40px 0 20px;
    color: var(--gold);
}

.page-content h3 {
    font-size: 28px;
    margin: 30px 0 15px;
    color: var(--charcoal);
}

.page-content p {
    margin-bottom: 20px;
}

.page-content ul, .page-content ol {
    margin: 20px 0 20px 30px;
}

.page-content li {
    margin-bottom: 10px;
}

.page-content a {
    color: var(--gold);
    text-decoration: underline;
}

.page-content a:hover {
    color: var(--dark-gold);
}

/* Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 40px;
}

.blog-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    transition: all 0.3s;
}

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

.blog-image-link {
    display: block;
}

.blog-image {
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.blog-content {
    padding: 30px;
}

.blog-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 14px;
    color: #999;
}

.blog-title {
    font-size: 26px;
    margin-bottom: 15px;
}

.blog-title a {
    color: var(--charcoal);
    text-decoration: none;
    transition: color 0.3s;
}

.blog-title a:hover {
    color: var(--gold);
}

.blog-excerpt {
    color: #666;
    line-height: 1.7;
    margin-bottom: 20px;
}

.blog-read-more {
    color: var(--gold);
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: color 0.3s;
}

.blog-read-more:hover {
    color: var(--dark-gold);
}

/* Single Post */
.post-single {
    background: white;
}

.post-featured-image {
    width: 100%;
    max-height: 500px;
    overflow: hidden;
}

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

.post-container {
    max-width: 900px;
}

.post-header {
    margin-bottom: 40px;
}

.post-header h1 {
    font-size: 48px;
    margin-bottom: 20px;
    color: var(--charcoal);
}

.post-meta {
    display: flex;
    gap: 20px;
    color: #999;
    font-size: 15px;
}

.post-content {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 60px;
}

.post-content h2 {
    font-size: 36px;
    margin: 40px 0 20px;
    color: var(--gold);
}

.post-content h3 {
    font-size: 28px;
    margin: 30px 0 15px;
}

.post-content p {
    margin-bottom: 20px;
}

.post-content ul, .post-content ol {
    margin: 20px 0 20px 30px;
}

.post-content li {
    margin-bottom: 10px;
}

.post-footer {
    padding-top: 40px;
    border-top: 2px solid var(--cream);
}

.back-to-blog {
    color: var(--gold);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.back-to-blog:hover {
    color: var(--dark-gold);
}

/* No Content */
.no-content {
    text-align: center;
    padding: 80px 20px;
    color: #666;
}

.no-content p {
    font-size: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 { font-size: 42px; }
    .hero p { font-size: 18px; }
    .section-header h2 { font-size: 36px; }
    .container { padding: 60px 20px; }
    .residency-grid { grid-template-columns: 1fr; }
    .residency-section { padding: 60px 20px; }
    .residency-content h2 { font-size: 36px; }
    .events-grid { grid-template-columns: 1fr; }
    .blog-grid { grid-template-columns: 1fr; }
    .page-hero h1 { font-size: 36px; }
    .post-header h1 { font-size: 36px; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 32px; }
    .residency-buttons { flex-direction: column; }
    .btn-residency { width: 100%; text-align: center; }
}
