@import url('https://fonts.googleapis.com/css2?family=Archivo+Black&family=Space+Grotesk:wght@400;700&display=swap');

/* --- RESET & FONTS --- */
:root {
    --color-bg: #FFF8F0;
    --color-text: #1a1a1a;
    --color-accent-1: #FF3366;
    /* Neon Pink */
    --color-accent-2: #FFD700;
    /* Electric Yellow */
    --color-accent-3: #00C2BA;
    /* Teal */
    --color-accent-4: #6A0DAD;
    /* Deep Purple */
    --font-display: 'Archivo Black', sans-serif;
    --font-body: 'Space Grotesk', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Import Google Fonts */

/* --- UTILITIES --- */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 15px 30px;
    font-family: var(--font-display);
    text-transform: uppercase;
    text-decoration: none;
    color: #000;
    border: 3px solid #000;
    background: var(--color-accent-2);
    box-shadow: 5px 5px 0px #000;
    transition: all 0.2s ease;
    cursor: pointer;
    font-size: 1.2rem;
}

.btn:hover {
    transform: translate(-3px, -3px);
    box-shadow: 8px 8px 0px #000;
}

.btn:active {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0px #000;
}

.section-title {
    font-family: var(--font-display);
    font-size: 4rem;
    text-transform: uppercase;
    line-height: 0.9;
    margin-bottom: 2rem;
    color: var(--color-text);
    text-shadow: 3px 3px 0px var(--color-accent-3);
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2.5rem;
    }
}

/* --- NAV --- */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
    z-index: 1000;
    border-bottom: 3px solid #000;
    padding: 15px 0;
}

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

.logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--color-accent-1);
    text-shadow: 2px 2px 0px #000;
    text-decoration: none;
}

.nav-links a {
    margin-left: 20px;
    text-decoration: none;
    color: #000;
    font-weight: 700;
    text-transform: uppercase;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: -5px;
    left: 0;
    background-color: var(--color-accent-1);
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

/* --- HERO SECTION --- */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('../assets/entrance2.jpg');
    /* Varkala Vibes */
    background-size: cover;
    background-position: center;
    position: relative;
}

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

.hero h1 {
    font-family: var(--font-display);
    font-size: 6rem;
    color: #fff;
    line-height: 0.9;
    text-shadow: 5px 5px 0px var(--color-accent-1);
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 30px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    color: #fff;
    font-size: 2rem;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0) translateX(-50%);
    }

    40% {
        transform: translateY(-10px) translateX(-50%);
    }

    60% {
        transform: translateY(-5px) translateX(-50%);
    }
}

/* --- MARQUEE --- */
.marquee {
    background: var(--color-accent-1);
    color: #fff;
    padding: 15px 0;
    overflow: hidden;
    white-space: nowrap;
    border-bottom: 3px solid #000;
    font-family: var(--font-display);
    font-size: 1.5rem;
}

.marquee-content {
    display: inline-block;
    animation: marquee 20s linear infinite;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* --- VALUE PROPS (Why Us) --- */
.features {
    padding: 80px 0;
    background-color: var(--color-bg);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.feature-card {
    background: #fff;
    border: 3px solid #000;
    padding: 30px;
    box-shadow: 8px 8px 0px var(--color-accent-3);
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 12px 12px 0px var(--color-accent-4);
}

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

.feature-card h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

/* --- MEET THE FAM (Host & Dog) --- */
.host-section {
    padding: 80px 0;
    background: var(--color-accent-2);
    border-top: 3px solid #000;
    border-bottom: 3px solid #000;
    overflow: hidden;
}

.host-container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.host-img {
    flex: 1;
    position: relative;
}

.host-img img {
    width: 100%;
    border: 3px solid #000;
    box-shadow: 10px 10px 0px #fff;
    transform: rotate(-3deg);
}

.host-text {
    flex: 1;
}

.host-text h2 {
    font-family: var(--font-display);
    font-size: 3rem;
    margin-bottom: 20px;
}

/* --- ROOMS --- */
.rooms {
    padding: 80px 0;
}

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

.room-card {
    border: 3px solid #000;
    position: relative;
    background: #fff;
}

.room-img {
    height: 250px;
    background-color: #ddd;
    background-size: cover;
    background-position: center;
    border-bottom: 3px solid #000;
}

.room-info {
    padding: 20px;
}

.room-price {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--color-accent-1);
    color: #fff;
    padding: 5px 10px;
    font-weight: bold;
    border: 2px solid #000;
    box-shadow: 3px 3px 0px #000;
}

/* --- VIBE GALLERY --- */
.gallery-section {
    padding: 80px 0;
    background: #000;
    color: #fff;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 200px;
    gap: 10px;
}

.gallery-item {
    background-size: cover;
    background-position: center;
    transition: opacity 0.3s;
    cursor: crosshair;
    filter: grayscale(100%);
}

.gallery-item:hover {
    filter: grayscale(0%);
}

.g-1 {
    grid-column: span 2;
    grid-row: span 2;
}

.g-2 {
    grid-column: span 1;
}

.g-3 {
    grid-column: span 1;
}

/* --- FOOTER --- */
footer {
    background: var(--color-text);
    color: #fff;
    padding: 50px 0;
    text-align: center;
}

.social-icons {
    margin: 20px 0;
    font-size: 2rem;
}

.social-icons a {
    color: #fff;
    margin: 0 10px;
    text-decoration: none;
}

/* --- ANIMATIONS --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 3.5rem;
    }

    .host-container {
        flex-direction: column;
    }

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

    .g-1 {
        grid-column: span 1;
        grid-row: span 1;
    }
}

/* --- ADMIN DASHBOARD --- */
#admin-dashboard {
    min-height: 100vh;
    display: none;
    /* Hidden by default */
}

#admin-dashboard .container {
    text-align: center;
}

#admin-dashboard h2 {
    color: var(--color-text);
}

.admin-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 30px;
    margin-bottom: 30px;
}

@media (min-width: 768px) {
    .admin-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.task-card {
    background: #fff;
    border: 3px solid #000;
    box-shadow: 8px 8px 0px #000;
    display: flex;
    flex-direction: column;
    text-align: left;
    transition: transform 0.2s;
}

.task-card:hover {
    transform: translateY(-5px);
}

.card-header {
    padding: 20px;
    border-bottom: 3px solid #000;
    background: var(--color-accent-2);
    display: flex;
    align-items: center;
    gap: 15px;
}

.card-icon {
    font-size: 2rem;
}

.card-header h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    margin: 0;
}

.card-body {
    padding: 20px;
    flex-grow: 1;
}

.card-footer {
    padding: 20px;
    border-top: 3px solid #000;
    text-align: right;
    background: #f9f9f9;
}

.btn-small {
    display: inline-block;
    padding: 10px 20px;
    font-family: var(--font-display);
    text-transform: uppercase;
    text-decoration: none;
    color: #000;
    border: 2px solid #000;
    background: #fff;
    box-shadow: 3px 3px 0px #000;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.btn-small:hover {
    transform: translate(-2px, -2px);
    box-shadow: 5px 5px 0px #000;
    background: var(--color-accent-1);
    color: #fff;
}

.btn-small:active {
    transform: translate(1px, 1px);
    box-shadow: 1px 1px 0px #000;
}

.form-input {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 2px solid #000;
    font-family: var(--font-body);
    font-size: 0.9rem;
}

.form-input:focus {
    outline: none;
    background: #f0f0f0;
}

.checklist-item {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.checklist-item input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: var(--color-accent-1);
}

/* --- DATA VIEWER --- */
.tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.tab-btn {
    padding: 10px 20px;
    font-family: var(--font-display);
    text-transform: uppercase;
    background: #fff;
    border: 2px solid #000;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.2s;
}

.tab-btn.active {
    background: var(--color-accent-2);
    box-shadow: 3px 3px 0px #000;
    transform: translate(-2px, -2px);
}

.tab-btn:hover:not(.active) {
    background: #f0f0f0;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border: 2px solid #000;
}

.admin-table th,
.admin-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #000;
}

.admin-table th {
    background: #000;
    color: #fff;
    font-family: var(--font-display);
    text-transform: uppercase;
}

.admin-table tr:last-child td {
    border-bottom: none;
}

@media (max-width: 768px) {
    .data-view {
        overflow-x: auto;
    }
}