/* Baklava Website - Unique Design */
:root {
    --gold-primary: #D4AF37;
    --gold-secondary: #F4D03F;
    --brown-primary: #8B4513;
    --brown-secondary: #A0522D;
    --brown-light: #CD853F;
    --cream: #FFF8DC;
    --cream-dark: #F5E6D3;
    --text-dark: #3E2723;
    --text-light: #5D4037;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, var(--cream) 0%, var(--cream-dark) 100%);
    background-attachment: fixed;
    color: var(--text-dark);
    line-height: 1.6;
    position: relative;
    overflow-x: hidden;
}

/* Unique Background Pattern */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(139, 69, 19, 0.08) 0%, transparent 50%),
        repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(212, 175, 55, 0.03) 35px, rgba(212, 175, 55, 0.03) 70px);
    z-index: -1;
    pointer-events: none;
}

/* Navigation */
.navbar {
    background: linear-gradient(180deg, rgba(212, 175, 55, 0.95) 0%, rgba(139, 69, 19, 0.95) 100%);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(139, 69, 19, 0.3);
    backdrop-filter: blur(10px);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    position: relative;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--cream);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    text-decoration: none;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.nav-menu a {
    color: var(--cream);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--cream);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-menu a:hover::after {
    width: 80%;
}

.nav-menu a:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--cream);
    cursor: pointer;
    width: 40px;
    height: 40px;
    position: relative;
    padding: 0;
}

.menu-toggle span {
    display: block;
    position: absolute;
    height: 3px;
    width: 30px;
    background: var(--cream);
    border-radius: 3px;
    left: 50%;
    transform: translateX(-50%);
    transition: all 0.3s ease;
}

.menu-toggle span:nth-child(1) {
    top: 10px;
}

.menu-toggle span:nth-child(2) {
    top: 50%;
    transform: translate(-50%, -50%);
}

.menu-toggle span:nth-child(3) {
    bottom: 10px;
}

.menu-toggle.active span:nth-child(1) {
    top: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    bottom: 50%;
    transform: translate(-50%, 50%) rotate(-45deg);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--brown-primary) 0%, var(--brown-secondary) 50%, var(--gold-primary) 100%);
    padding: 4rem 2rem;
    text-align: center;
    color: var(--cream);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: patternMove 20s linear infinite;
    opacity: 0.3;
}

@keyframes patternMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.2s both;
}

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

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

/* Section Headings */
.section-title {
    font-size: 2.5rem;
    color: var(--brown-primary);
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--gold-primary), var(--brown-primary));
    border-radius: 2px;
}

/* Cards */
.card {
    background: var(--cream);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 8px 25px rgba(139, 69, 19, 0.15);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(139, 69, 19, 0.25);
    border-color: var(--gold-primary);
}

/* Recipe Cards with Animation */
.recipe-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.recipe-card {
    background: linear-gradient(135deg, var(--cream) 0%, var(--cream-dark) 100%);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(139, 69, 19, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    border: 3px solid var(--gold-primary);
}

.recipe-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    transition: all 0.6s ease;
}

.recipe-card:hover::before {
    top: -30%;
    right: -30%;
}

.recipe-card:hover {
    transform: translateY(-10px) rotate(1deg);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.4);
}

.recipe-card h3 {
    color: var(--brown-primary);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.recipe-card p {
    color: var(--text-light);
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

/* Images */
.image-container {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    margin: 2rem 0;
    box-shadow: 0 8px 25px rgba(139, 69, 19, 0.2);
}

.image-container img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.image-container:hover img {
    transform: scale(1.1);
}

/* Baking Timer */
.timer-container {
    background: linear-gradient(135deg, var(--gold-primary) 0%, var(--brown-primary) 100%);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    color: var(--cream);
    margin: 2rem 0;
    box-shadow: 0 10px 30px rgba(139, 69, 19, 0.3);
}

.timer-display {
    font-size: 4rem;
    font-weight: bold;
    margin: 1rem 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.timer-progress {
    width: 100%;
    height: 20px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    overflow: hidden;
    margin: 1rem 0;
}

.timer-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--cream) 0%, var(--gold-secondary) 100%);
    border-radius: 10px;
    transition: width 1s linear;
    box-shadow: 0 2px 10px rgba(255, 255, 255, 0.5);
}

.timer-controls {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1rem;
}

.btn {
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    background: var(--cream);
    color: var(--brown-primary);
}

.btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-primary {
    background: var(--brown-primary);
    color: var(--cream);
}

/* Interactive Tips */
.tips-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.tip-card {
    background: var(--cream);
    border-radius: 12px;
    padding: 1.5rem;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid var(--gold-primary);
}

.tip-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.3);
}

.tip-popup {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    background: var(--brown-primary);
    color: var(--cream);
    padding: 1rem;
    border-radius: 8px;
    width: 250px;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    z-index: 100;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.tip-card:hover .tip-popup {
    opacity: 1;
    transform: translateX(-50%) translateY(-15px);
    pointer-events: auto;
}

.tip-popup::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 8px solid transparent;
    border-top-color: var(--brown-primary);
}

/* Forms */
.form-container {
    max-width: 600px;
    margin: 2rem auto;
    background: var(--cream);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(139, 69, 19, 0.2);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--brown-primary);
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid var(--brown-light);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold-primary);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-top: 1rem;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 0.3rem;
    cursor: pointer;
}

.checkbox-group label {
    margin: 0;
    font-weight: normal;
    cursor: pointer;
}

/* Footer */
.footer {
    background: linear-gradient(180deg, var(--brown-primary) 0%, var(--brown-secondary) 100%);
    color: var(--cream);
    padding: 2rem;
    text-align: center;
    margin-top: 4rem;
}

.footer p {
    margin: 0.5rem 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        flex-direction: column;
        background: linear-gradient(180deg, rgba(212, 175, 55, 0.98) 0%, rgba(139, 69, 19, 0.98) 100%);
        backdrop-filter: blur(10px);
        box-shadow: 0 8px 25px rgba(139, 69, 19, 0.3);
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transform: translateY(-10px);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        margin-top: 0;
        padding: 0;
        z-index: 999;
    }

    .nav-menu.active {
        max-height: 1000px;
        opacity: 1;
        transform: translateY(0);
        padding: 1rem 0;
    }

    .nav-menu li {
        width: 100%;
        padding: 0 2rem;
        opacity: 1;
    }

    .nav-menu a {
        display: block;
        padding: 0.8rem 0;
        width: 100%;
    }

    @keyframes slideInDown {
        from {
            opacity: 0;
            transform: translateX(-20px);
        }
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }

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

    .hero p {
        font-size: 1.1rem;
    }

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

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

    .timer-display {
        font-size: 3rem;
    }

    .container {
        padding: 2rem 1rem;
    }
}

/* Text Content Styles */
.content-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.content-text p {
    margin-bottom: 1rem;
}

/* Ingredients List */
.ingredients-list {
    list-style: none;
    padding: 0;
}

.ingredients-list li {
    background: var(--cream);
    padding: 1rem;
    margin-bottom: 0.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--gold-primary);
    transition: all 0.3s ease;
}

.ingredients-list li:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 10px rgba(212, 175, 55, 0.2);
}

/* History Timeline */
.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline-item {
    background: var(--cream);
    padding: 1.5rem;
    margin-bottom: 2rem;
    border-radius: 12px;
    border-left: 5px solid var(--gold-primary);
    box-shadow: 0 5px 15px rgba(139, 69, 19, 0.15);
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background: var(--gold-primary);
    border-radius: 50%;
    border: 3px solid var(--cream);
    box-shadow: 0 0 0 3px var(--brown-primary);
}

/* Form Messages */
#form-message {
    animation: slideDown 0.5s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Contact Info */
.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.contact-item {
    background: var(--cream);
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(139, 69, 19, 0.15);
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.3);
}

.contact-item h3 {
    color: var(--brown-primary);
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: var(--text-light);
}

