/* ===================================
   Kateri Tekawitha Housing - Styles
   Palette: Plum + Amber
   =================================== */

:root {
    /* Primary Colors */
    --plum-dark: #2D1B30;
    --plum-primary: #5B3A6E;
    --plum-light: #8B6AA5;
    --plum-pale: #F3EEF7;
    
    /* Accent Colors */
    --amber-primary: #F59E0B;
    --amber-dark: #D97706;
    --amber-light: #FCD34D;
    --amber-pale: #FFFBEB;
    
    /* Neutrals */
    --neutral-900: #111827;
    --neutral-800: #1F2937;
    --neutral-700: #374151;
    --neutral-600: #4B5563;
    --neutral-400: #9CA3AF;
    --neutral-200: #E5E7EB;
    --neutral-100: #F3F4F6;
    --neutral-50: #F9FAFB;
    --white: #FFFFFF;
    
    /* Gradients */
    --gradient-hero: linear-gradient(135deg, var(--plum-dark) 0%, var(--plum-primary) 50%, var(--plum-light) 100%);
    --gradient-amber: linear-gradient(135deg, var(--amber-primary) 0%, var(--amber-dark) 100%);
    --gradient-text: linear-gradient(135deg, var(--plum-primary) 0%, var(--amber-primary) 100%);
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Outfit', sans-serif;
    
    /* Spacing */
    --section-padding: 6rem 0;
    --container-max: 1200px;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--neutral-800);
    background-color: var(--neutral-50);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

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

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

ul {
    list-style: none;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Decorative Blobs */
.blob {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    z-index: -1;
    pointer-events: none;
}

.blob-1 {
    width: 400px;
    height: 400px;
    background: var(--plum-primary);
    top: -100px;
    right: -100px;
}

.blob-2 {
    width: 300px;
    height: 300px;
    background: var(--amber-primary);
    bottom: 20%;
    left: -50px;
}

.blob-3 {
    width: 250px;
    height: 250px;
    background: var(--plum-light);
    top: 50%;
    right: 10%;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--neutral-200);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--plum-dark);
}

.logo .dot {
    color: var(--amber-primary);
    font-size: 2rem;
    line-height: 0;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--neutral-700);
}

.nav-links a:hover {
    color: var(--plum-primary);
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 2px;
    background: var(--neutral-800);
    transition: all 0.3s ease;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1.75rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--gradient-amber);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
}

.btn-secondary {
    background: var(--white);
    color: var(--plum-dark);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-outline {
    background: transparent;
    color: var(--plum-primary);
    border: 2px solid var(--plum-primary);
}

.btn-outline:hover {
    background: var(--plum-primary);
    color: var(--white);
}

.btn-large {
    padding: 1.125rem 2.5rem;
    font-size: 1.1rem;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: var(--gradient-hero);
    overflow: hidden;
    padding-top: 80px;
}

.hero-bg-geo {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(245, 158, 11, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(139, 106, 165, 0.3) 0%, transparent 50%);
}

.geo-shape {
    position: absolute;
    opacity: 0.1;
}

.shape-1 {
    width: 300px;
    height: 300px;
    border: 3px solid var(--amber-primary);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    top: 10%;
    right: 5%;
    animation: float 6s ease-in-out infinite;
}

.shape-2 {
    width: 150px;
    height: 150px;
    background: var(--amber-primary);
    bottom: 20%;
    left: 5%;
    transform: rotate(45deg);
    animation: float 8s ease-in-out infinite reverse;
}

.shape-3 {
    width: 80px;
    height: 80px;
    border: 3px solid var(--plum-light);
    border-radius: 50%;
    top: 30%;
    left: 15%;
    animation: float 5s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--amber-primary);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 600;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-title .highlight {
    color: var(--amber-primary);
    font-style: italic;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 4rem;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
}

.stat-card {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--amber-primary);
    line-height: 1;
}

.stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Section Styles */
.section {
    padding: var(--section-padding);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-tag {
    display: inline-block;
    background: var(--plum-pale);
    color: var(--plum-primary);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    color: var(--neutral-900);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.text-gradient {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-desc {
    font-size: 1.125rem;
    color: var(--neutral-600);
}

/* Rooms Section */
.rooms {
    background: var(--white);
}

.rooms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.room-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: all 0.4s ease;
    border: 1px solid var(--neutral-200);
}

.room-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.room-card.featured {
    border: 2px solid var(--amber-primary);
}

.room-image {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.room-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.room-card:hover .room-image img {
    transform: scale(1.05);
}

.room-tag {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--amber-primary);
    color: var(--white);
    padding: 0.375rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
}

.room-tag.tag-new {
    background: var(--plum-primary);
}

.room-content {
    padding: 1.75rem;
}

.room-content h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--neutral-900);
    margin-bottom: 0.75rem;
}

.room-content p {
    color: var(--neutral-600);
    margin-bottom: 1.25rem;
    font-size: 0.95rem;
}

.room-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.room-features li {
    background: var(--plum-pale);
    color: var(--plum-primary);
    padding: 0.375rem 0.875rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
}

.room-content .btn {
    width: 100%;
}

/* Amenities Section */
.amenities {
    background: var(--plum-pale);
}

.amenities-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.amenity-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
}

.amenity-item {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.amenity-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-amber);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    flex-shrink: 0;
}

.amenity-item h4 {
    font-size: 1.125rem;
    color: var(--neutral-900);
    margin-bottom: 0.25rem;
}

.amenity-item p {
    font-size: 0.95rem;
    color: var(--neutral-600);
}

.amenities-visual {
    position: relative;
    height: 500px;
}

.visual-card {
    position: absolute;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.visual-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-1 {
    width: 280px;
    height: 350px;
    top: 0;
    right: 0;
    z-index: 2;
}

.card-2 {
    width: 220px;
    height: 220px;
    bottom: 0;
    left: 0;
    z-index: 1;
}

.visual-accent {
    position: absolute;
    width: 100px;
    height: 100px;
    background: var(--amber-primary);
    border-radius: 20px;
    bottom: 40%;
    left: 30%;
    z-index: 0;
    opacity: 0.3;
}

/* Location Section */
.location {
    background: var(--white);
}

.location-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.location-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 2rem;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.location-map {
    min-height: 400px;
    background: var(--neutral-200);
}

.location-map iframe {
    border-radius: 20px 0 0 20px;
}

.location-info {
    background: var(--plum-dark);
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.info-card.highlight-card {
    background: var(--amber-primary);
    border-color: var(--amber-primary);
}

.info-card h3 {
    font-size: 1rem;
    color: var(--amber-primary);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.info-card.highlight-card h3 {
    color: var(--plum-dark);
}

.info-card p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    line-height: 1.7;
}

.info-card.highlight-card p {
    color: var(--plum-dark);
}

.info-card a {
    color: var(--amber-light);
    font-weight: 600;
}

.info-card.highlight-card a {
    color: var(--plum-dark);
}

/* CTA Section */
.cta-section {
    position: relative;
    background: var(--gradient-hero);
    padding: 5rem 0;
    overflow: hidden;
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2rem;
}

.cta-actions {
    display: flex;
    justify-content: center;
}

.cta-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.cta-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
}

.shape-a {
    width: 300px;
    height: 300px;
    background: var(--amber-primary);
    top: -100px;
    left: -100px;
}

.shape-b {
    width: 200px;
    height: 200px;
    background: var(--plum-light);
    bottom: -50px;
    right: -50px;
}

/* Footer */
.footer {
    background: var(--neutral-900);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand .logo {
    color: var(--white);
    margin-bottom: 1rem;
    display: inline-block;
}

.footer-brand p {
    color: var(--neutral-400);
    font-size: 0.95rem;
    line-height: 1.7;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: var(--amber-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: var(--neutral-400);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 0.5rem;
}

.footer-contact p {
    color: var(--neutral-400);
    font-size: 0.95rem;
    line-height: 1.7;
}

.footer-contact a {
    color: var(--amber-primary);
}

.footer-contact a:hover {
    color: var(--amber-light);
}

.footer-bottom {
    border-top: 1px solid var(--neutral-800);
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    color: var(--neutral-600);
    font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .amenities-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .amenities-visual {
        height: 400px;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .location-grid {
        grid-template-columns: 1fr;
    }
    
    .location-map iframe {
        border-radius: 20px 20px 0 0;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 4rem 0;
    }
    
    .nav-links {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        box-shadow: var(--shadow-lg);
        transform: translateY(-150%);
        transition: transform 0.3s ease;
        z-index: 999;
    }
    
    .nav-links.active {
        transform: translateY(0);
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    .hero-stats {
        gap: 2rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .visual-card {
        position: relative;
        width: 100% !important;
        height: 250px !important;
    }
    
    .amenities-visual {
        height: auto;
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
    
    .visual-accent {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-actions .btn {
        width: 100%;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
}
