/* T-BA GuestHouse - Main Stylesheet */
/* Color  inspired by Northern Lights */
:root {
    --aurora-green: #00ff87;
    --aurora-blue: #00d4ff;
    --aurora-purple: #b94fff;
    --aurora-pink: #ff006e;
    --deep-space: #0a0e27;
    --midnight: #1a1f3a;
    --ice-white: #f0f4f8;
    --star-silver: #c8d5e0;
    --accent-glow: rgba(0, 255, 135, 0.3);
}

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

body {
    font-family: 'Quicksand', 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, var(--deep-space) 0%, var(--midnight) 100%);
    color: var(--ice-white);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

    /* Aurora Background Animation */
    body::before {
        content: '';
        position: fixed;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: radial-gradient(ellipse at 20% 30%, rgba(0, 255, 135, 0.15) 0%, transparent 50%), radial-gradient(ellipse at 80% 70%, rgba(0, 212, 255, 0.15) 0%, transparent 50%), radial-gradient(ellipse at 50% 50%, rgba(185, 79, 255, 0.1) 0%, transparent 50%);
        animation: aurora-flow 20s ease-in-out infinite;
        z-index: -1;
    }

@keyframes aurora-flow {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(10%, -10%) scale(1.1);
    }

    66% {
        transform: translate(-10%, 10%) scale(0.9);
    }
}

/* Starfield Effect */
.stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.star {
    position: absolute;
    width: 2px;
    height: 2px;
    background: white;
    border-radius: 50%;
    animation: twinkle 3s infinite;
}

@keyframes twinkle {
    0%, 100% {
        opacity: 0.3;
    }

    50% {
        opacity: 1;
    }
}

/* Header Styles */
header {
    background: rgba(26, 31, 58, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 255, 135, 0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
    animation: slideDown 0.8s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--aurora-green), var(--aurora-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px var(--accent-glow);
    letter-spacing: 2px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2.5rem;
}

nav a {
    color: var(--ice-white);
    text-decoration: none;
    font-weight: 500;
    letter-spacing: 1px;
    position: relative;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
}

    nav a::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 0;
        height: 2px;
        background: linear-gradient(90deg, var(--aurora-green), var(--aurora-blue));
        transition: width 0.3s ease;
    }

    nav a:hover {
        color: var(--aurora-green);
    }

        nav a:hover::after {
            width: 100%;
        }

/* Hero Section */
.hero {
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding: 2rem;
}

.hero-content {
    max-width: 800px;
    animation: fadeInUp 1s ease-out 0.3s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--aurora-green), var(--aurora-blue), var(--aurora-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
    text-shadow: 0 0 60px var(--accent-glow);
}

.hero p {
    font-size: 1.3rem;
    color: var(--star-silver);
    margin-bottom: 2rem;
    font-weight: 300;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--aurora-green), var(--aurora-blue));
    color: var(--deep-space);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 255, 135, 0.3);
    border: none;
    cursor: pointer;
}

    .cta-button:hover {
        transform: translateY(-3px);
        box-shadow: 0 15px 40px rgba(0, 255, 135, 0.5);
    }

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

/* Section Styles */
section {
    margin-bottom: 4rem;
    animation: fadeIn 1s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--aurora-blue), var(--aurora-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h3 {
    font-size: 1.8rem;
    color: var(--aurora-green);
    margin-bottom: 1rem;
}

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

.feature-card {
    background: rgba(26, 31, 58, 0.6);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(0, 255, 135, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

    .feature-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(135deg, rgba(0, 255, 135, 0.1), transparent);
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .feature-card:hover {
        transform: translateY(-10px);
        border-color: var(--aurora-green);
        box-shadow: 0 20px 40px rgba(0, 255, 135, 0.2);
    }

        .feature-card:hover::before {
            opacity: 1;
        }

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

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    aspect-ratio: 4/3;
    border: 2px solid rgba(0, 255, 135, 0.2);
    transition: all 0.3s ease;
}

    .gallery-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.3s ease;
    }

    .gallery-item:hover {
        border-color: var(--aurora-green);
        box-shadow: 0 15px 35px rgba(0, 255, 135, 0.3);
    }

        .gallery-item:hover img {
            transform: scale(1.1);
        }

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background: linear-gradient(to top, rgba(10, 14, 39, 0.95), transparent);
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-caption {
    transform: translateY(0);
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 3rem auto;
    background: rgba(26, 31, 58, 0.6);
    backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid rgba(0, 255, 135, 0.2);
}

.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--aurora-green);
    font-weight: 600;
    letter-spacing: 0.5px;
}

input,
textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(10, 14, 39, 0.8);
    border: 1px solid rgba(0, 255, 135, 0.3);
    border-radius: 10px;
    color: var(--ice-white);
    font-family: 'Quicksand', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

    input:focus,
    textarea:focus {
        outline: none;
        border-color: var(--aurora-green);
        box-shadow: 0 0 20px rgba(0, 255, 135, 0.2);
    }

textarea {
    min-height: 150px;
    resize: vertical;
}

/* Map Container */
.map-container {
    margin: 3rem 0;
    border-radius: 20px;
    overflow: hidden;
    border: 2px solid rgba(0, 255, 135, 0.2);
    height: 400px;
}

    .map-container iframe {
        width: 100%;
        height: 100%;
        border: none;
        filter: invert(90%) hue-rotate(180deg);
    }

/* Footer */
footer {
    background: rgba(10, 14, 39, 0.9);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(0, 255, 135, 0.2);
    padding: 3rem 2rem;
    text-align: center;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
}

    .social-links a {
        color: var(--aurora-green);
        font-size: 1.5rem;
        transition: all 0.3s ease;
    }

        .social-links a:hover {
            color: var(--aurora-blue);
            transform: translateY(-5px);
        }

footer p {
    color: var(--star-silver);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    nav ul {
        gap: 1rem;
    }

    .features {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 2rem;
    }
}

/* Accessibility */
:focus-visible {
    outline: 2px solid var(--aurora-green);
    outline-offset: 3px;
}

/* Loading Animation */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.loading {
    animation: pulse 2s ease-in-out infinite;
}
