:root {
    --primary-color: #7b5b2e; /* Deep earthy brown */
    --secondary-color: #d4a373; /* Golden potato skin color */
    --accent-color: #e9edc9; /* Light buttery yellow */
    --bg-color: #fefae0; /* Creamy off-white */
    --text-color: #283618; /* Dark forest green for text */
    --white: #ffffff;
    --transition: all 0.3s ease;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

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

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3 {
    font-weight: 800;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Header & Nav */
header {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--primary-color);
}

.logo-monogram {
    font-size: 2.2rem;
    font-weight: 900;
    letter-spacing: 1px;
    line-height: 1;
}

.logo-text {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
    border-left: 2px solid var(--secondary-color);
    padding-left: 12px;
}

.logo.st-patrick::before {
    content: "☘️";
    font-size: 1.8rem;
    margin-right: -5px;
    animation: sway 3s ease-in-out infinite;
}

@keyframes sway {
    0%, 100% { transform: rotate(-5deg); }
    50% { transform: rotate(5deg); }
}

.first-letter {
    position: relative;
    display: inline-block;
}

.logo.christmas .first-letter::before {
    content: "🎅"; /* We'll use the hat emoji part or just the whole emoji if we want, but usually better to use a hat SVG or similar. Since we used the clover ☘️ emoji, let's try a Santa Hat emoji part if possible, otherwise we can use the full emoji 🎅 but scaled/positioned. */
    /* Let's use the Santa emoji but just position it above as a hat. */
    content: "🎅";
    position: absolute;
    font-size: 1.4rem;
    top: -1.2rem;
    left: -0.2rem;
    transform: rotate(-15deg);
    pointer-events: none;
    z-index: 10;
    filter: drop-shadow(0 2px 2px rgba(0,0,0,0.2));
}

.logo img {
    height: 40px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 1.2rem;
}

nav ul li a {
    font-weight: 600;
    font-size: 0.72rem;
    transition: var(--transition);
}

nav ul li a:hover {
    color: var(--secondary-color);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 10%;
    background: linear-gradient(135deg, rgba(254, 250, 224, 0.8), rgba(212, 163, 115, 0.3)), url('images/hero.png');
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-content {
    max-width: 600px;
    animation: fadeInUp 1s ease-out;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

.lang-floating-container {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 1000;
}

.lang-switcher {
    display: flex;
    gap: 0.2rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(15px);
    padding: 4px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
}

.lang-btn {
    background: transparent;
    border: none;
    padding: 6px 12px;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 700;
    font-size: 0.7rem;
    color: var(--text-color);
    transition: var(--transition);
}

.lang-btn.active {
    background: var(--primary-color);
    color: var(--white);
}

.lang-btn:hover:not(.active) {
    background: rgba(255, 255, 255, 0.2);
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50px;
    font-weight: 700;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow);
}

.btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-5px);
}

/* Sections */
section {
    padding: 100px 10%;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--secondary-color);
    margin: 10px auto;
    border-radius: 2px;
}

/* Varieties Grid */
.varieties-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.variety-card {
    background: var(--white);
    padding: 0;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    overflow: hidden;
}

.variety-card .variety-info {
    padding: 2rem;
}

.variety-card:hover {
    transform: translateY(-10px);
}

.variety-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.variety-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* Dishes Section */
.dishes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.dish-card {
    background: var(--white);
    border-radius: 25px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.dish-card:hover {
    transform: scale(1.02);
}

.dish-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.dish-info {
    padding: 2rem;
}

.dish-info h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* Recipes Section */
.recipes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
}

.recipe-card {
    background: var(--white);
    border-radius: 30px;
    padding: 2.5rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.recipe-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 20px;
    margin-bottom: 2rem;
}

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

.recipe-header {
    margin-bottom: 2rem;
}

.recipe-highlight {
    border-left: 5px solid var(--secondary-color);
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.recipe-title {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.recipe-section-title {
    font-size: 1.1rem;
    font-weight: 800;
    margin: 1.5rem 0 0.5rem 0;
    color: var(--text-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.recipe-list {
    list-style-position: inside;
    margin-top: 0.5rem;
    flex-grow: 1;
}

.recipe-list li {
    margin-bottom: 0.8rem;
    padding-left: 0.5rem;
    border-bottom: 1px dashed #eee;
    padding-bottom: 0.3rem;
}

.recipe-tip {
    margin-top: 1.5rem;
    padding: 1rem;
    background: rgba(212, 163, 115, 0.1);
    border-left: 4px solid var(--secondary-color);
    border-radius: 0 10px 10px 0;
    font-size: 0.9rem;
    color: var(--secondary-color);
    font-weight: 600;
}


/* Nutrition & Tips Sections */
.info-row {
    display: flex;
    align-items: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.info-content {
    flex: 1;
    min-width: 300px;
}

.info-image {
    flex: 1;
    min-width: 320px;
    border-radius: 30px;
    box-shadow: var(--shadow);
}

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

.stat-card {
    background: var(--accent-color);
    padding: 1.5rem;
    border-radius: 20px;
    text-align: center;
    border: 2px solid rgba(123, 91, 46, 0.1);
}

.stat-value {
    display: block;
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--primary-color);
}

.stat-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

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

.tip-box {
    background: var(--white);
    padding: 2rem;
    border-radius: 25px;
    position: relative;
    border-bottom: 5px solid var(--secondary-color);
    box-shadow: var(--shadow);
}

.tip-box h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Facts Section */
.facts-bg {
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
}

.fact-box {
    background: rgba(255, 255, 255, 0.1);
    padding: 3rem;
    border-radius: 30px;
    max-width: 800px;
    margin: 0 auto;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    backdrop-filter: blur(5px);
}

#fact-text {
    font-size: 1.5rem;
    font-style: italic;
    margin-bottom: 2rem;
}

/* Footer */
footer {
    padding: 50px 10%;
    background-color: var(--text-color);
    color: var(--white);
    text-align: center;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    nav ul {
        display: none;
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(40, 54, 24, 0.4);
    backdrop-filter: blur(8px);
    animation: fadeIn 0.4s ease-out;
}

.modal-content {
    background-color: var(--white);
    margin: 10% auto;
    padding: 3rem;
    border-radius: 40px;
    width: 90%;
    max-width: 600px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    position: relative;
    animation: fadeInUp 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.close-modal {
    position: absolute;
    right: 25px;
    top: 20px;
    color: var(--primary-color);
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
}

.close-modal:hover {
    transform: rotate(90deg) scale(1.1);
    color: var(--secondary-color);
}

/* Rating Styles */
.star-rating {
    display: flex;
    justify-content: center;
    gap: 1rem;
    font-size: 3rem;
}

.star {
    cursor: pointer;
    color: #ddd;
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275), color 0.2s ease;
}

.star:hover,
.star.active {
    color: #ffcc00;
    transform: scale(1.2);
}

.star:active {
    transform: scale(0.9);
}

.logo.easter::after {
    content: '';
    position: absolute;
    top: -10px;
    right: -30px;
    width: 40px;
    height: 40px;
    background-image: url('images/bunny.png');
    background-size: contain;
    background-repeat: no-repeat;
    animation: bunny-hop 2s infinite ease-in-out;
}

#back-to-top:hover {
    background-color: var(--secondary-color);
    transform: scale(1);
}


