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

:root {
    --primary-color: #C8102E;
    --secondary-color: #228B22;
    --accent-color: #FFD700;
    --christmas-red: #DC143C;
    --christmas-green: #228B22;
    --christmas-gold: #FFD700;
    --text-dark: #2C2C2C;
    --text-light: #6B7280;
    --white: #FFFFFF;
    --light-gray: #FFF8F0;
    --christmas-bg: linear-gradient(135deg, #FFF8F0 0%, #FFE4E1 100%);
    --shadow: 0 4px 6px -1px rgba(220, 20, 60, 0.2);
    --shadow-lg: 0 20px 25px -5px rgba(220, 20, 60, 0.3);
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
    background: var(--christmas-bg);
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 248, 240, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 2px solid rgba(220, 20, 60, 0.2);
}

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

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--christmas-red);
    text-decoration: none;
}

.logo i {
    margin-right: 0.5rem;
    font-size: 1.8rem;
}

.christmas-icon {
    margin-left: 0.5rem;
    color: var(--christmas-red);
    animation: wiggle 2s infinite;
}

@keyframes wiggle {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-10deg); }
    75% { transform: rotate(10deg); }
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: var(--christmas-red);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--christmas-red);
    transition: width 0.3s ease;
}

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--christmas-red);
    margin: 3px 0;
    transition: 0.3s;
}

/* Snowflakes Animation */
.snowflakes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1001;
    overflow: hidden;
}

.snowflake {
    position: absolute;
    color: #ffffff;
    font-size: 1.5em;
    font-family: Arial;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.8);
    animation: snowfall 10s infinite linear;
    opacity: 0.8;
}

.snowflake:nth-child(1) { left: 10%; animation-delay: 0s; }
.snowflake:nth-child(2) { left: 20%; animation-delay: 1s; }
.snowflake:nth-child(3) { left: 30%; animation-delay: 2s; }
.snowflake:nth-child(4) { left: 40%; animation-delay: 3s; }
.snowflake:nth-child(5) { left: 50%; animation-delay: 4s; }
.snowflake:nth-child(6) { left: 60%; animation-delay: 5s; }
.snowflake:nth-child(7) { left: 70%; animation-delay: 6s; }
.snowflake:nth-child(8) { left: 80%; animation-delay: 7s; }
.snowflake:nth-child(9) { left: 90%; animation-delay: 8s; }
.snowflake:nth-child(10) { left: 15%; animation-delay: 9s; }
.snowflake:nth-child(11) { left: 25%; animation-delay: 10s; }
.snowflake:nth-child(12) { left: 35%; animation-delay: 11s; }

@keyframes snowfall {
    0% {
        transform: translateY(-100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.8;
    }
    90% {
        opacity: 0.8;
    }
    100% {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0;
    }
}

/* Christmas Greeting */
.christmas-greeting {
    font-size: 1.5rem;
    color: var(--christmas-red);
    font-weight: 700;
    margin-bottom: 1rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Christmas Decorations */
.christmas-decorations {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.ornament {
    position: absolute;
    font-size: 3rem;
    animation: float 3s infinite ease-in-out;
}

.ornament-1 {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.ornament-2 {
    top: 20%;
    right: 15%;
    animation-delay: 1s;
}

.ornament-3 {
    bottom: 20%;
    left: 20%;
    animation-delay: 2s;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, #FFF8F0 0%, #FFE4E1 50%, #F0FFF0 100%);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.coffee-steam {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.1;
}

.steam {
    position: absolute;
    width: 4px;
    height: 60px;
    background: var(--christmas-red);
    border-radius: 50px;
    animation: steam-rise 3s infinite ease-in-out;
}

.steam-1 {
    left: -20px;
    animation-delay: 0s;
}

.steam-2 {
    left: 0px;
    animation-delay: 1s;
}

.steam-3 {
    left: 20px;
    animation-delay: 2s;
}

@keyframes steam-rise {
    0% {
        transform: translateY(0) scaleY(1);
        opacity: 0.1;
    }
    50% {
        transform: translateY(-30px) scaleY(1.2);
        opacity: 0.3;
    }
    100% {
        transform: translateY(-60px) scaleY(0.8);
        opacity: 0;
    }
}

.floating-beans {
    position: absolute;
    width: 100%;
    height: 100%;
}

.bean {
    position: absolute;
    width: 20px;
    height: 30px;
    background: var(--christmas-red);
    border-radius: 50%;
    opacity: 0.2;
    animation: float 6s infinite ease-in-out;
}

.bean-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.bean-2 {
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.bean-3 {
    bottom: 30%;
    left: 20%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

.hero-content {
    text-align: center;
    z-index: 2;
    max-width: 800px;
    padding: 0 2rem;
}

.hero-title {
    font-size: 4rem;
    background: linear-gradient(135deg, var(--christmas-red) 0%, var(--christmas-green) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(50px);
    animation: fadeInUp 1s ease 0.5s forwards;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(50px);
    animation: fadeInUp 1s ease 0.7s forwards;
}

.cta-button {
    background: linear-gradient(135deg, var(--christmas-red) 0%, #DC143C 100%);
    color: var(--white);
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(50px);
    animation: fadeInUp 1s ease 0.9s forwards;
    box-shadow: 0 4px 15px rgba(220, 20, 60, 0.4);
}

.cta-button:hover {
    background: linear-gradient(135deg, var(--christmas-green) 0%, #228B22 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(34, 139, 34, 0.5);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-arrow {
    width: 2px;
    height: 30px;
    background: var(--christmas-red);
    position: relative;
    animation: bounce 2s infinite;
}

.scroll-arrow::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -3px;
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--christmas-red);
    border-bottom: 2px solid var(--christmas-red);
    transform: rotate(45deg);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

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

/* Menu Section */
.menu-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #FFF8F0 0%, #F0FFF0 100%);
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    background: linear-gradient(135deg, var(--christmas-red) 0%, var(--christmas-green) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.book-container {
    perspective: 1000px;
    margin: 2rem auto;
    max-width: 800px;
    max-height:auto;
}

.book {
    position: relative;
    width: 100%;
    height: 600px;
    transform-style: preserve-3d;
    transition: transform 0.8s ease;
}

.book-page {
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
    backface-visibility: hidden;
    transform-origin: left center;
    transition: transform 0.8s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.book-page.active {
    transform: rotateY(0deg);
    z-index: 4;
}

.book-page:not(.active) {
    transform: rotateY(-180deg);
    z-index: 3;
}

.page-content {
    padding: 2rem;
    text-align: center;
    width: 100%;
    max-width: 600px;
}

.page-content h3 {
    background: linear-gradient(135deg, var(--christmas-red) 0%, var(--christmas-green) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 2rem;
    font-size: 2.5rem;
}

.page-content h3 i {
    margin-right: 1rem;
    color: var(--christmas-red);
}

.menu-items {
    display: grid;
    gap: 1.5rem;
    text-align: left;
}

.menu-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: linear-gradient(135deg, #ffffff 0%, #FFF8F0 100%);
    border-radius: 10px;
    border-left: 4px solid var(--christmas-red);
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(220, 20, 60, 0.1);
}

.menu-item:hover {
    transform: translateX(10px);
    border-left-color: var(--christmas-green);
    box-shadow: 0 4px 10px rgba(34, 139, 34, 0.2);
}

.menu-item h4 {
    color: var(--christmas-red);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.menu-item p {
    color: var(--text-light);
    margin: 0;
    font-size: 0.9rem;
}

.price {
    color: var(--christmas-green);
    font-weight: 600;
    font-size: 1.1rem;
}

.page-indicators {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--christmas-green);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: var(--christmas-red);
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(220, 20, 60, 0.5);
}

/* About Section */
.about-section {
    padding: 5rem 0;
    position: relative;
    background: linear-gradient(135deg, #ffffff 0%, #FFF8F0 100%);
    overflow: hidden;
}

.about-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.coffee-cup-illustration {
    position: absolute;
    top: 20%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: linear-gradient(45deg, var(--christmas-red), var(--christmas-green));
    border-radius: 50%;
    opacity: 0.08;
    animation: rotate 20s infinite linear;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.floating-beans-about {
    position: absolute;
    width: 100%;
    height: 100%;
}

.about-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-content h2 {
    background: linear-gradient(135deg, var(--christmas-red) 0%, var(--christmas-green) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 2rem;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

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

.feature {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, #ffffff 0%, #FFF8F0 100%);
    border-radius: 15px;
    border-top: 4px solid var(--christmas-red);
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(220, 20, 60, 0.1);
}

.feature:hover {
    transform: translateY(-10px);
    border-top-color: var(--christmas-green);
    box-shadow: 0 10px 25px rgba(34, 139, 34, 0.2);
}

.feature i {
    font-size: 3rem;
    color: var(--christmas-red);
    margin-bottom: 1rem;
    filter: drop-shadow(0 2px 4px rgba(220, 20, 60, 0.3));
}

.feature:hover i {
    color: var(--christmas-green);
}

.feature h4 {
    background: linear-gradient(135deg, var(--christmas-red) 0%, var(--christmas-green) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

/* Gallery Section */
.gallery-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #F0FFF0 0%, #FFF8F0 100%);
}

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

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
    height: 300px;
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

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

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

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(220, 20, 60, 0.95));
    color: var(--white);
    padding: 2rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

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

.gallery-overlay h4 {
    margin-bottom: 0.5rem;
}

/* Contact Section */
.contact-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #ffffff 0%, #FFF8F0 100%);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-form {
    background: linear-gradient(135deg, #ffffff 0%, #FFF8F0 100%);
    padding: 2rem;
    border-radius: 15px;
    border: 2px solid rgba(220, 20, 60, 0.2);
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid transparent;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--christmas-red);
    box-shadow: 0 0 0 3px rgba(220, 20, 60, 0.1);
}

.submit-btn {
    background: linear-gradient(135deg, var(--christmas-red) 0%, #DC143C 100%);
    color: var(--white);
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    box-shadow: 0 4px 15px rgba(220, 20, 60, 0.4);
}

.submit-btn:hover {
    background: linear-gradient(135deg, var(--christmas-green) 0%, #228B22 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(34, 139, 34, 0.5);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--christmas-red);
    margin-top: 0.25rem;
}

.info-item h4 {
    color: var(--christmas-red);
    margin-bottom: 0.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--christmas-red);
    color: var(--white);
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(220, 20, 60, 0.3);
}

.social-link:hover {
    background: var(--christmas-green);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(34, 139, 34, 0.4);
}

.map-container {
    margin-top: 3rem;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--christmas-red) 0%, #8B0000 100%);
    color: var(--white);
    padding: 3rem 0 1rem;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--christmas-green) 0%, var(--christmas-gold) 50%, var(--christmas-green) 100%);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-logo i {
    margin-right: 0.5rem;
    font-size: 1.8rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--christmas-gold);
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--christmas-gold);
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color:white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-links {
        display: none;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .features {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .book {
        height: 500px;
    }
    
    .page-content {
        padding: 1rem;
    }
    
    .page-content h3 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .navbar {
        padding: 1rem;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .menu-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .menu-item:hover {
        transform: none;
    }
}

/* Scroll Animations */
.fade-in {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading Animation */
.loading {
    opacity: 0;
    animation: fadeIn 1s ease forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}
