@import url('https://fonts.googleapis.com/css2?family=Mrs+Saint+Delafield&display=swap');

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}


/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    border-bottom: 2px solid #333;
    background: linear-gradient(181deg, #304d92, #2c397b);
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #fff;
    overflow: hidden;
    width: 100px;
    height: 100px;
    border-radius: 0px 0px 10px 10px;
}

.logo img {
    width: 130%;
    margin-left: -15px;
    margin-top: 15px;
}

.slogan {
    font-size: 0.9rem;
    opacity: 0.9;
    margin: 0;
    display: none;
}

@media (min-width: 768px) {
    .slogan {
        display: block;
    }
}

nav ul {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin: 0;
}

.nav-link {
    color: white;
    text-decoration: none;
    padding: 20px 10px;
    font-size: 0.9rem;
    position: relative;
    transition: all 0.3s ease;
}

.nav-link.active-border {
    position: relative;
}

.nav-link.active-border::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 3px;
    background-color: #ff0000;
    transition: width 0.5s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.nav-link.active-border::after {
    width: 100%;
}

.nav-link:hover {
    color: #fff;
}

.nav-link.active {
    background: rgba(255, 255, 255, 0.2);
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
    padding-top: 50px;
}

.hero-slider {
    height: 100%;
    width: 100%;
}

.hero-slide {
    height: 100vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex !important;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

/* Özel pozisyonlama için slide'lara class ekleyelim */
.hero-slide:nth-child(1) {
    background-position: left center;
}

.hero-slide:nth-child(2) {
    background-position: center center;
}

.hero-slide:nth-child(3) {
    background-position: left center;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(57, 41, 41, 0.5);
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 0 2rem;
}

.hero-content h2 {
    font-size: 7rem;
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
    font-family: "Mrs Saint Delafield", cursive;
  font-weight: 400;
  font-style: normal;
}

.hero-content p {
    font-size: 1.2rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease 0.3s forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Slick Slider Customization for Hero */
.hero .slick-dots {
    bottom: 30px;
    z-index: 2;
}

.hero .slick-dots li button:before {
    color: #fff;
    font-size: 12px;
    opacity: 0.5;
}

.hero .slick-dots li.slick-active button:before {
    opacity: 1;
}

.hero .slick-prev,
.hero .slick-next {
    z-index: 2;
    width: 50px;
    height: 50px;
}

.hero .slick-prev {
    left: 20px;
}

.hero .slick-next {
    right: 20px;
}

.hero .slick-prev:before,
.hero .slick-next:before {
    font-size: 50px;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.hero .slick-prev:hover:before,
.hero .slick-next:hover:before {
    opacity: 1;
}

@media (max-width: 768px) {
    .hero-content h2 {
        font-size: 4rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .hero .slick-prev,
    .hero .slick-next {
        width: 30px;
        height: 30px;
    }

    .hero .slick-prev:before,
    .hero .slick-next:before {
        font-size: 30px;
    }

    .hero-slide {
        background-size: cover;
    }
    
    .hero-slide:nth-child(1) {
        background-position: 25% center;
    }

    .hero-slide:nth-child(2) {
        background-position: center center;
    }

    .hero-slide:nth-child(3) {
        background-position: 25% center;
    }
}

/* Rooms Section */
.rooms {
    padding: 6rem 2rem;
    background: #f9f9f9;
}

.rooms h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.room-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.room-card {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: transform 0.3s ease;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.room-card:hover {
    transform: translateY(-10px);
}

.room-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.room-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: #fff;
}

.room-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

/* Room Modal */
.room-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    overflow-y: auto;
    padding: 20px;
}

.modal-content {
    position: relative;
    width: 90%;
    max-width: 1000px;
    margin: 20px auto;
    background: #fff;
    border-radius: 10px;
    padding: 2rem;
    max-height: 90vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.close-modal {
    position: fixed;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    cursor: pointer;
    color: #fff;
    z-index: 1001;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.close-modal:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: scale(1.1);
}

.room-slider {
    margin-bottom: 2rem;
    flex-shrink: 0;
}

.room-slider img {
    width: 100%;
    height: auto;
    max-height: 50vh;
    object-fit: cover;
}

.room-details {
    flex-grow: 1;
    overflow-y: auto;
    padding-right: 10px;
}

.room-details h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    position: sticky;
    top: 0;
    background: #fff;
    padding: 1rem 0;
    z-index: 1;
}

.features {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.features li {
    padding: 1rem;
    background: #f5f5f5;
    border-radius: 5px;
    font-size: 1rem;
    display: flex;
    align-items: center;
}

/* Custom Scrollbar */
.modal-content::-webkit-scrollbar {
    width: 8px;
}

.modal-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.modal-content::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Responsive Modal */
@media (max-width: 768px) {
    .modal-content {
        margin: 10px auto;
        padding: 1rem;
        width: 95%;
    }

    .room-slider img {
        max-height: 40vh;
    }

    .room-details h3 {
        font-size: 1.5rem;
        padding: 0.5rem 0;
    }

    .features {
        grid-template-columns: 1fr;
    }

    .features li {
        padding: 0.75rem;
        font-size: 0.9rem;
    }
}

/* Contact Section */
.contact {
    padding: 6rem 2rem;
    background: #fff;
}

.contact h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.contact-content {
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info {
    padding: 2rem;
    background: #f5f5f5;
    border-radius: 10px;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contact-info.animate {
    opacity: 1;
    transform: translateY(0);
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.contact-info p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-info p a{
    color: #333;
    text-decoration: none;
}

.contact-info i {
    margin-right: 0.8rem;
    color: #333;
    font-size: 1.2rem;
}

@media (max-width: 768px) {
    .contact {
        padding: 4rem 1rem;
        padding-bottom: calc(4rem + 70px);
    }

    .contact h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .contact-info {
        padding: 1.5rem;
    }

    .contact-info p {
        font-size: 1rem;
    }
}

/* Slick Slider Customization */
.slick-prev, .slick-next {
    z-index: 1;
    width: 40px;
    height: 40px;
}

.slick-prev {
    left: 10px;
}

.slick-next {
    right: 10px;
}

.slick-dots {
    bottom: 20px;
}

.slick-dots li button:before {
    color: #fff;
}

/* About Section */
.about {
    padding: 6rem 2rem;
    background: #fff;
    overflow: hidden;
    padding-top: calc(6rem + 50px);
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateX(-100px);
    transition: all 1s ease;
}

.about-image.animate {
    opacity: 1;
    transform: translateX(0);
}

.about-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.about-content {
    opacity: 0;
    transform: translateX(100px);
    transition: all 1s ease;
}

.about-content.animate {
    opacity: 1;
    transform: translateX(0);
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #333;
}

.about-content p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: #666;
}

/* Scroll Animations for All Sections */
.room-card.animate {
    opacity: 1;
    transform: translateY(0);
}

.contact-email.animate {
    transform: translateY(0);
    opacity: 1;
}

/* Responsive Design Update */
@media (max-width: 768px) {
    .about-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-image {
        height: 300px;
    }

    .about-content h2 {
        font-size: 2rem;
    }
}

/* Mobile Menu Button */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 24px;
    position: relative;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #fff;
    margin: 5px 0;
    transition: all 0.3s ease;
    transform-origin: center;
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Desktop Navigation Styles */
@media (min-width: 769px) {
    .mobile-nav {
        display: none;  /* Hide mobile navigation on desktop */
    }

    .nav-link.active-border::after {
        content: '';
        position: absolute;
        bottom: -2px;
        left: 0;
        width: 0;
        height: 3px;
        background-color: #ff0000;
        transition: width 0.5s cubic-bezier(0.645, 0.045, 0.355, 1);
    }

    .nav-link.active-border::after {
        width: 100%;
    }
}

/* Mobile Navigation */
@media (max-width: 768px) {
    header {
        justify-content: center;
        padding: 0 1rem;
        height: 60px;
    }

    .logo {
        text-align: center;
    }

    .menu-toggle {
        display: none !important;
    }

    .main-nav {
        display: none;  /* Hide desktop navigation */
    }

    /* Mobile Bottom Navigation */
    .mobile-nav {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background: rgb(44 66 135);
        backdrop-filter: blur(10px);
        padding: 1rem;
        z-index: 1000;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
    }

    .mobile-nav ul {
        display: flex;
        justify-content: space-around;
        align-items: center;
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .mobile-nav .nav-link {
        color: #fff;
        text-decoration: none;
        font-size: 1.5rem;
        width: 50px;
        height: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.1);
        transition: all 0.3s ease;
    }

    .mobile-nav .nav-link:hover {
        background: rgba(255, 255, 255, 0.2);
        color: #fff;
    }

    .mobile-nav .nav-link.active-border {
        transform: translateY(-7px);
        background: rgba(255, 255, 255, 0.3);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    }

    /* Remove the after pseudo-element for mobile */
    .mobile-nav .nav-link.active-border::after {
        display: none;
    }

    /* Adjust content padding for fixed bottom nav */
    .hero, .about, .rooms, .contact {
        padding-bottom: calc(6rem + 70px);
    }
}

/* Desktop Navigation */
@media (min-width: 769px) {
    .mobile-nav {
        display: none;  /* Hide mobile navigation on desktop */
    }
} 