/* 
   Yıldız Erkek Öğrenci Yurdu - Main Styles
   Theme: Dark Blue & Gold/Orange
*/

:root {
    --primary-color: #0f172a;
    /* Dark Blue */
    --secondary-color: #f59e0b;
    /* Gold/Orange */
    --text-color: #334155;
    --light-bg: #f8fafc;
    --white: #ffffff;
    --border-color: #e2e8f0;
    --transition: all 0.3s ease;
    --font-heading: 'Oswald', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

.container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--primary-color);
    text-transform: uppercase;
    margin-bottom: 15px;
}

.section-title .divider {
    width: 60px;
    height: 4px;
    background-color: var(--secondary-color);
    margin: 0 auto;
    border-radius: 2px;
}

.section-title.white h2 {
    color: var(--white);
}

/* Buttons */
.cta-button {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid var(--secondary-color);
}

.cta-button:hover {
    background-color: transparent;
    color: var(--secondary-color);
}

.btn-outline {
    display: inline-block;
    padding: 10px 20px;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    font-weight: 600;
    border-radius: 5px;
}

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

/* Loader */
/* Loader */
.loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0f172a;
    /* Primary Color Background */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

.loader-container {
    position: relative;
    width: 150px;
    height: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader-ring {
    position: absolute;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: var(--secondary-color);
    width: 100%;
    height: 100%;
    animation: rotate 2s linear infinite;
}

.loader-ring:nth-child(2) {
    width: 80%;
    height: 80%;
    border-top-color: var(--white);
    animation: rotate 1.5s linear infinite reverse;
}

.loader-ring:nth-child(3) {
    width: 60%;
    height: 60%;
    border-top-color: var(--secondary-color);
    animation: rotate 1s linear infinite;
}

.loader-logo {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--white);
    animation: pulse 2s ease-in-out infinite;
}

.loader-logo i {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.loader-logo span {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    letter-spacing: 2px;
    font-weight: 700;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.8;
        transform: scale(0.95);
    }

    50% {
        opacity: 1;
        transform: scale(1.05);
    }
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: transparent;
    transition: var(--transition);
    padding: 20px 0;
}

.header.scrolled {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-logo-img {
    height: 50px;
    width: auto;
    border-radius: 50%;
    border: 2px solid var(--white);
    transition: var(--transition);
}

.header.scrolled .nav-logo-img {
    border-color: var(--primary-color);
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo span {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--white);
    font-weight: 700;
    letter-spacing: 2px;
}

.logo small {
    color: var(--white);
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.header.scrolled .logo span,
.header.scrolled .logo small {
    color: var(--primary-color);
}

.nav-list {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: var(--white);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding-bottom: 5px;
}

.header.scrolled .nav-link {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.btn-contact {
    background-color: var(--secondary-color);
    color: var(--primary-color) !important;
    padding: 8px 18px;
    border-radius: 4px;
}

.btn-contact:hover {
    background-color: var(--white);
}

.header.scrolled .btn-contact:hover {
    background-color: var(--primary-color);
    color: var(--white) !important;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--white);
    transition: var(--transition);
}

.header.scrolled .bar {
    background-color: var(--primary-color);
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(15, 23, 42, 0.7), rgba(15, 23, 42, 0.5));
    z-index: -1;
}

.hero-content {
    padding: 0 20px;
    animation: fadeInUp 1s ease;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 4rem;
    line-height: 1.2;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.animated-text {
    background: linear-gradient(to right, #fff 20%, #f59e0b 40%, #f59e0b 60%, #fff 80%);
    background-size: 200% auto;
    color: #fff;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textShine 3s linear infinite;
    display: inline-block;
    position: relative;
}

@keyframes textShine {
    to {
        background-position: 200% center;
    }
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

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

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-image img {
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.about-text h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 20px;
    color: #64748b;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
}

.feature-box {
    display: flex;
    align-items: center;
    gap: 15px;
    background: var(--white);
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.feature-box i {
    font-size: 1.5rem;
    color: var(--secondary-color);
}

.feature-box h4 {
    color: var(--primary-color);
    margin-bottom: 5px;
}

/* Rooms Section */
.rooms {
    background-color: #f1f5f9;
    background-image: radial-gradient(#cbd5e1 1px, transparent 1px);
    background-size: 40px 40px;
    position: relative;
}

/* Single Room Card Design */
.single-room-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: row;
    max-width: 1000px;
    margin: 0 auto;
    transition: transform 0.3s ease;
}

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

.room-image {
    flex: 1;
    position: relative;
    overflow: hidden;
    min-height: 400px;
}

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

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

.room-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--secondary-color);
    color: var(--primary-color);
    padding: 8px 16px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 10;
}

.room-details {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.room-details h3 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.room-description {
    color: #64748b;
    margin-bottom: 30px;
    line-height: 1.7;
    font-size: 1.05rem;
}

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

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.feature-item i {
    width: 40px;
    height: 40px;
    background: rgba(245, 158, 11, 0.1);
    color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.feature-item:hover i {
    background: var(--secondary-color);
    color: var(--white);
}

.feature-item span {
    font-weight: 500;
    color: var(--primary-color);
}

.room-actions {
    margin-top: auto;
}

@media (max-width: 850px) {
    .single-room-card {
        flex-direction: column;
    }

    .room-image {
        min-height: 250px;
    }

    .room-details {
        padding: 30px;
    }
}

@media (max-width: 480px) {
    .features-grid-small {
        grid-template-columns: 1fr;
    }
}

/* Services */
.services {
    background-color: var(--primary-color);
    position: relative;
    overflow: hidden;
    background-image: url('tmma.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.services .container {
    position: relative;
    z-index: 2;
}

/* Animated Gradient Overlay */
.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.7), rgba(245, 158, 11, 0.1));
    background-size: 200% 200%;
    animation: gradientMove 10s ease infinite;
    z-index: 1;
}

@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.services .section-title h2 {
    color: var(--white);
    background: linear-gradient(to right, #fff, #f59e0b, #fff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    background-size: 200% auto;
    animation: shine 3s linear infinite;
}

@keyframes shine {
    to {
        background-position: 200% center;
    }
}

.services .section-title p {
    color: #cbd5e1;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(25%, 1fr));
    gap: 30px;
    position: relative;
    z-index: 2;
}

.service-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.service-card:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border-color: var(--secondary-color);
}

.service-card:hover h4 {
    color: var(--secondary-color);
}

.service-card p {
    color: #cbd5e1;
    /* Lighter text for dark glass background */
}

.service-card:hover p {
    color: var(--white);
}

.service-card .icon {
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
}

.service-card .icon i {
    font-size: 3rem;
    color: var(--secondary-color);
    transition: var(--transition);
}

.service-card:hover .icon i {
    color: var(--white);
    transform: scale(1.1);
    animation: float 2s ease-in-out infinite;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}

@keyframes float {
    0% {
        transform: scale(1.1) translateY(0px);
    }

    50% {
        transform: scale(1.1) translateY(-10px);
    }

    100% {
        transform: scale(1.1) translateY(0px);
    }
}

.service-card h4 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--white);
    font-weight: 600;
    transition: var(--transition);
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.gallery-item {
    position: relative;
    height: 300px;
    overflow: hidden;
    border-radius: 15px;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(2px);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: all 0.4s ease;
}

.gallery-overlay i {
    font-size: 2.5rem;
    color: var(--white);
    transform: scale(0.8);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

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

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover .gallery-overlay i {
    transform: scale(1);
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    justify-content: center;
    align-items: center;
    flex-direction: column;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    opacity: 1;
}

.lightbox-content {
    max-width: 90vw;
    max-height: 80vh;
    border-radius: 8px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transition: transform 0.1s linear;
    /* Fast transition for dragging */
    user-select: none;
    -webkit-user-drag: none;
    touch-action: none;
}

.close-lightbox {
    position: absolute;
    top: 30px;
    right: 40px;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
    z-index: 2002;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.close-lightbox:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
    transform: rotate(90deg);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 2002;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.lightbox-nav:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-50%) scale(1.1);
    border-color: var(--secondary-color);
}

.lightbox-nav.prev {
    left: 40px;
}

.lightbox-nav.next {
    right: 40px;
}

.lightbox-controls {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 2002;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.lightbox-controls span {
    color: var(--white);
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
}

.lightbox-controls span:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .lightbox-nav {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }

    .lightbox-nav.prev {
        left: 10px;
    }

    .lightbox-nav.next {
        right: 10px;
    }

    .close-lightbox {
        top: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
}

/* FAQ */
.accordion {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    background: var(--white);
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.accordion-header {
    padding: 20px;
    background: var(--white);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--primary-color);
    transition: var(--transition);
}

.accordion-header:hover {
    background-color: #f1f5f9;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background-color: #f8fafc;
}

.accordion-content p {
    padding: 20px;
    color: #64748b;
    border-top: 1px solid var(--border-color);
}

.accordion-header.active i {
    transform: rotate(180deg);
}

/* Testimonials */
.testimonials {
    background-image: url('https://images.unsplash.com/photo-1523050854058-8df90110c9f1?ixlib=rb-1.2.1&auto=format&fit=crop&w=1920&q=80');
    background-attachment: fixed;
    background-size: cover;
    position: relative;
    color: var(--white);
    text-align: center;
}

.overlay-dark {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.85);
}

.testimonials .container {
    position: relative;
    z-index: 2;
}

.testimonial-slider {
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
    min-height: 300px;
}

.testimonial-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    padding: 20px;
}

.testimonial-slide.active {
    opacity: 1;
    position: relative;
}

.quote {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
    opacity: 0.5;
}

.comment {
    font-size: 1.25rem;
    font-style: italic;
    margin-bottom: 30px;
    line-height: 1.8;
}

.author img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    margin: 0 auto 15px;
    border: 3px solid var(--secondary-color);
}

.author h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.author span {
    font-size: 0.9rem;
    opacity: 0.8;
}

.slider-dots {
    margin-top: 30px;
}

.dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--secondary-color);
    transform: scale(1.2);
}

/* Contact */
.contact-wrapper {
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

.contact-info,
.contact-form {
    flex: 1;
    width: 100%;
}

.info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.info-item i {
    width: 50px;
    height: 50px;
    background: var(--secondary-color);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.info-item h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.map-container {
    border-radius: 10px;
    overflow: hidden;
    margin-top: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
}

.error-msg {
    color: #ef4444;
    font-size: 0.85rem;
    margin-top: 5px;
    display: none;
}

.form-group.error input,
.form-group.error textarea {
    border-color: #ef4444;
}

.form-group.error .error-msg {
    display: block;
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 70px 0 20px;
}

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

.footer-col h3 {
    color: var(--secondary-color);
    font-family: var(--font-heading);
    margin-bottom: 25px;
    font-size: 1.5rem;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
}

.social-icons a:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
    }

    .contact-wrapper {
        flex-direction: column;
    }

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

@media (max-width: 768px) {
    .hamburger {
        display: block;
        z-index: 1001;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 0;
        width: 100%;
        height: 100vh;
        background-color: var(--primary-color);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.3s;
        text-align: center;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: 25px;
    }

    .nav-link {
        font-size: 1.2rem;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    /* Fix for mobile menu visibility on scroll */
    .header.scrolled .nav-link {
        color: var(--white);
    }

    .header.scrolled .bar {
        background-color: var(--primary-color);
    }

    /* Ensure close button (hamburger) is white when menu is active */
    .hamburger.active .bar {
        background-color: var(--white) !important;
    }

    .hero-title {
        font-size: 2.5rem;
    }

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

@media (max-width: 480px) {
    .section-title h2 {
        font-size: 1.8rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .room-card {
        margin: 0;
    }

    /* Better spacing on small screens */
    .section {
        padding: 40px 0;
    }

    .services-grid,
    .gallery-grid,
    .rooms-grid {
        grid-template-columns: 1fr;
        padding: 0 10px;
    }

    .service-card {
        padding: 20px;
    }

    .about-image {
        display: none;
        /* Hide illustrative image on very small screens to focus on text */
    }

    .contact-form input,
    .contact-form textarea {
        padding: 12px;
    }

    .footer {
        padding: 40px 0 20px;
    }
}

/* Fix for very small screens (iPhone SE etc) */
@media (max-width: 350px) {
    .logo span {
        font-size: 1.4rem;
    }

    .logo small {
        font-size: 0.7rem;
    }

    .cta-button {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* WhatsApp Widget Styles */
.whatsapp-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    font-family: var(--font-body);
}

.whatsapp-icon-btn {
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 35px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    z-index: 2;
}

.whatsapp-icon-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.4);
}

.whatsapp-chat-box {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 320px;
    background-color: #f9f9f9;
    border-radius: 20px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    transform-origin: bottom right;
    transform: scale(0);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.19, 1, 0.22, 1);
    z-index: 1;
}

.whatsapp-chat-box.active {
    transform: scale(1);
    opacity: 1;
}

.whatsapp-header {
    background: linear-gradient(135deg, #128C7E, #075E54);
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

.whatsapp-header-content {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 1.1rem;
}

.whatsapp-header-content i {
    font-size: 1.5rem;
}

.whatsapp-close {
    cursor: pointer;
    font-size: 1.2rem;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.whatsapp-close:hover {
    opacity: 1;
}

.whatsapp-body {
    background-color: #E5DDD5;
    background-image: url('https://user-images.githubusercontent.com/15075759/28719144-86dc0f70-73b1-11e7-911d-60d70fcded21.png');
    padding: 20px;
    min-height: 150px;
    display: flex;
    align-items: flex-end;
}

.whatsapp-message {
    background-color: white;
    padding: 15px;
    border-radius: 10px;
    border-top-left-radius: 0;
    position: relative;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    font-size: 0.95rem;
    color: #333;
    line-height: 1.4;
    max-width: 90%;
}

.whatsapp-message::before {
    content: '';
    position: absolute;
    top: 0;
    left: -10px;
    width: 0;
    height: 0;
    border-top: 10px solid white;
    border-left: 10px solid transparent;
}

.whatsapp-footer {
    background-color: #f0f0f0;
    padding: 15px 20px;
    text-align: center;
}

.whatsapp-start-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    background-color: #25D366;
    color: white !important;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 30px;
    font-weight: 600;
    transition: background-color 0.3s;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.whatsapp-start-btn:hover {
    background-color: #128C7E;
}

@keyframes pulse-green {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.whatsapp-icon-btn {
    animation: pulse-green 2s infinite;
}

.whatsapp-chat-box.active+.whatsapp-icon-btn {
    animation: none;
}

@media (max-width: 480px) {
    .whatsapp-widget {
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-chat-box {
        width: 280px;
        right: -10px;
        bottom: 70px;
    }
}

/* Developer & Support Footer Styles */
.footer-col .developer-info,
.footer-col .support-info {
    margin-bottom: 15px;
}

.footer-col .developers {
    font-weight: 600;
    color: var(--secondary-color);
    margin-top: 5px;
}

.footer-col .support-link {
    color: var(--white);
    transition: var(--transition);
    display: inline-block;
    margin-top: 5px;
}

.footer-col .support-link:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* Image Optimization */
img {
    backface-visibility: hidden;
    /* Prevent blurs on transform */
}

/* Hacker Icon Animation */
.hacker-icon {
    color: #fff;
    font-size: 1.5rem;
    margin-right: 5px;
    animation: hackerGlow 2s infinite alternate;
    transition: transform 0.3s ease;
}

.hacker-icon:hover {
    transform: rotate(15deg) scale(1.2);
    cursor: pointer;
}

@keyframes hackerGlow {
    0% {
        text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
    }

    100% {
        text-shadow: 0 0 15px rgba(255, 255, 255, 1), 0 0 20px rgba(255, 255, 255, 0.5);
    }
}

/* Announcement Popup */
.announcement-popup {
    display: none;
    /* Hidden by default */
    position: fixed;
    z-index: 10000;
    /* High z-index to be on top of everything */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    /* Black w/ opacity */
    justify-content: center;
    align-items: center;
}

.announcement-popup.show {
    display: flex;
}

.popup-content {
    position: relative;
    background-color: transparent;
    margin: auto;
    padding: 0;
    border: none;
    width: 90%;
    max-width: 350px;
    /* Adjust as needed */
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    animation-name: animatetop;
    animation-duration: 0.4s
}

.popup-content img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
}

/* Close Button */
.popup-close-btn {
    color: white;
    position: absolute;
    top: -40px;
    right: 0;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    background: rgba(0, 0, 0, 0.5);
    width: 35px;
    height: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    z-index: 10001;
}

.popup-close-btn:hover,
.popup-close-btn:focus {
    color: #f59e0b;
    /* Secondary color */
    text-decoration: none;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.8);
}

@keyframes animatetop {
    from {
        top: -300px;
        opacity: 0
    }

    to {
        top: 0;
        opacity: 1
    }
}