/* ===================================
   GLOBAL STYLES
   =================================== */

:root {
    --primary-color: #2d5f3f;
    --secondary-color: #8fbc8f;
    --accent-color: #d4a574;
    --text-dark: #2c2c2c;
    --text-light: #666;
    --bg-light: #f8f6f3;
    --bg-cream: #faf8f5;
    --white: #ffffff;
    --shadow: rgba(0, 0, 0, 0.1);
    --shadow-hover: rgba(0, 0, 0, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    line-height: 1.8;
    overflow-x: hidden;
    background: var(--bg-cream);
}

html {
    scroll-behavior: smooth;
}

/* ===================================
   NAVIGATION
   =================================== */

.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px var(--shadow);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color) !important;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.navbar-brand i {
    font-size: 1.8rem;
    color: var(--secondary-color);
}

.navbar-brand:hover {
    color: var(--secondary-color) !important;
    transform: translateY(-2px);
}

.nav-link {
    color: var(--text-dark) !important;
    font-weight: 400;
    padding: 0.5rem 1.2rem !important;
    margin: 0 0.2rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 60%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color) !important;
    background: rgba(143, 188, 143, 0.1);
}

/* ===================================
   PAGE CONTENT
   =================================== */

.page-content {
    min-height: 100vh;
    padding-top: 80px;
}

/* ===================================
   HERO SECTION (Page 1)
   =================================== */

/* Hero section styles are now handled inline in index.html for custom layout */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===================================
   CONTENT PAGE (Page 2)
   =================================== */

.content-page {
    background: linear-gradient(135deg, #faf8f5 0%, #f0ece5 100%);
    padding: 120px 0 80px;
}

.content-card {
    background: var(--white);
    border-radius: 30px;
    padding: 4rem 3rem;
    box-shadow: 0 10px 50px var(--shadow);
    position: relative;
    overflow: hidden;
}

.content-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color));
}

.decorative-line {
    width: 60px;
    height: 4px;
    background: var(--accent-color);
    margin: 0 auto 2rem;
    border-radius: 2px;
}

.page-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.elegant-title {
    position: relative;
    padding-bottom: 1rem;
}

.decorative-separator {
    text-align: center;
    margin: 2rem 0 3rem;
    color: var(--accent-color);
    font-size: 1.5rem;
}

.content-text {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--text-dark);
}

.content-text p {
    margin-bottom: 1.5rem;
    text-align: justify;
}

.lead-paragraph {
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--text-dark);
    margin-bottom: 2rem;
    line-height: 2;
}

.highlight-text {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1.15rem;
    padding: 1.5rem;
    background: rgba(143, 188, 143, 0.1);
    border-left: 4px solid var(--primary-color);
    border-radius: 10px;
    margin-top: 2rem;
}

.history-image-container {
    margin-top: 3rem;
}

.image-frame {
    position: relative;
    padding: 1rem;
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 5px 30px var(--shadow);
    transition: transform 0.3s ease;
}

.image-frame:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px var(--shadow-hover);
}

.image-frame img {
    border-radius: 15px;
}

/* Fade In Animation */
.fade-in {
    animation: fadeIn 1s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===================================
   NAVIGATION ARROWS
   =================================== */

.nav-arrows {
    position: fixed;
    bottom: 50%;
    transform: translateY(50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 2rem;
    pointer-events: none;
    z-index: 100;
}

.arrow-btn {
    pointer-events: all;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px var(--shadow);
}

.arrow-btn:hover:not(:disabled) {
    background: var(--primary-color);
    color: var(--white);
    transform: scale(1.1);
    box-shadow: 0 8px 25px var(--shadow-hover);
}

.arrow-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.arrow-btn:active:not(:disabled) {
    transform: scale(0.95);
}

/* ===================================
   PAGE INDICATOR
   =================================== */

.page-indicator {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.8rem;
    z-index: 100;
    background: rgba(255, 255, 255, 0.9);
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    box-shadow: 0 5px 20px var(--shadow);
}

.page-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--text-light);
    opacity: 0.3;
    transition: all 0.3s ease;
    cursor: pointer;
}

.page-dot.active {
    opacity: 1;
    background: var(--primary-color);
    transform: scale(1.3);
}

.page-dot:hover {
    opacity: 0.7;
    transform: scale(1.2);
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */

@media (max-width: 991px) {
    /* Remove underline from nav links in mobile/collapsed navbar */
    .nav-link::after {
        display: none !important;
    }

    .content-card {
        padding: 3rem 2rem;
    }

    .nav-arrows {
        padding: 0 1rem;
    }

    .arrow-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .hover-card img {
        height: 380px !important;
    }

    .hover-card {
        max-width: 100% !important;
    }
}

@media (max-width: 768px) {
    .content-card {
        padding: 2rem 1.5rem;
        border-radius: 20px;
    }

    .content-text {
        font-size: 1rem;
    }

    .lead-paragraph {
        font-size: 1.1rem;
    }

    .page-indicator {
        bottom: 1rem;
        padding: 0.6rem 1.2rem;
    }

    .page-dot {
        width: 10px;
        height: 10px;
    }

    .arrow-btn {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }

    .nav-arrows {
        padding: 0 0.5rem;
    }
}

@media (max-width: 576px) {
    .content-card {
        padding: 1.5rem 1rem;
    }

    .navbar-brand {
        font-size: 1.2rem;
    }

    .content-text p {
        text-align: left;
    }

    .hover-card {
        margin-bottom: 1rem;
        max-width: 100% !important;
    }

    .hover-card img {
        height: 300px !important;
    }
}

/* ===================================
   IMAGE ENHANCEMENTS
   =================================== */

.hover-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.2) !important;
}

.hover-card img {
    transition: transform 0.3s ease;
}

.hover-card:hover img {
    transform: scale(1.05);
}

.image-container img:hover {
    transform: scale(1.05);
}

.qr-code-img {
    transition: all 0.3s ease;
}

.qr-code-img:hover {
    transform: scale(1.1) rotate(2deg);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.hotel-images img,
.taverna-images img,
.villa-content img {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hotel-images img:hover,
.taverna-images img:hover,
.villa-content img:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
}

/* ===================================
   UTILITY CLASSES
   =================================== */

.text-primary-custom {
    color: var(--primary-color) !important;
}

.bg-primary-custom {
    background-color: var(--primary-color) !important;
}

.text-secondary-custom {
    color: var(--secondary-color) !important;
}

.bg-secondary-custom {
    background-color: var(--secondary-color) !important;
}

/* ===================================
   LOADING ANIMATION
   =================================== */

.page-content {
    animation: pageLoad 0.5s ease-in;
}

@keyframes pageLoad {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* ===================================
   SCROLLBAR STYLING
   =================================== */

::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
    background: var(--secondary-color);
    border-radius: 6px;
    transition: background 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}
