:root {
    --primary-blue: #1e3a5f;
    --secondary-blue: #2c5282;
    --light-blue: #4a90e2;
    --silver: #c0c0c0;
    --light-silver: #e8e8e8;
    --white: #ffffff;
    --off-white: #f8f9fa;
    --text-dark: #2d3748;
    --text-light: #718096;
    --shadow: rgba(30, 58, 95, 0.1);
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

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

/* Header */
.header {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    box-shadow: 0 2px 10px var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    padding: 0;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 70px;
    gap: 3rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--white);
    text-decoration: none;
    letter-spacing: 1px;
    transition: opacity 0.3s ease;
    white-space: nowrap;
}

.logo:hover {
    opacity: 0.9;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    margin: 0;
    padding: 0;
}

.nav-menu a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 1rem 1.2rem;
    display: inline-block;
    white-space: nowrap;
}

.nav-menu a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--silver);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%);
    border-radius: 2px 2px 0 0;
}

.nav-menu a:hover::before {
    width: calc(100% - 2.4rem);
}

.nav-menu a:hover {
    color: var(--silver);
    background: rgba(255, 255, 255, 0.05);
}

.nav-menu a.active {
    color: var(--silver);
    background: rgba(255, 255, 255, 0.08);
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1.2rem;
    right: 1.2rem;
    height: 3px;
    background: var(--silver);
    border-radius: 2px 2px 0 0;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 5px;
    padding: 5px;
    z-index: 1001;
    position: relative;
}

.mobile-toggle span {
    width: 28px;
    height: 3px;
    background: var(--white);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

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

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--light-blue) 0%, var(--secondary-blue) 100%);
    color: var(--white);
    padding: 100px 0 150px;
    position: relative;
    overflow: hidden;
}

.wave-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
    overflow: hidden;
}

.wave {
    width: 100%;
    height: 100%;
    fill: var(--white);
    animation: wave-animation 8s ease-in-out infinite;
}

@keyframes wave-animation {
    0%, 100% {
        transform: translateX(0) translateY(0);
    }
    50% {
        transform: translateX(-25px) translateY(-10px);
    }
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    animation: fade-in-up 1s ease;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    animation: fade-in-up 1s ease 0.2s both;
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.btn-primary {
    display: inline-block;
    padding: 15px 40px;
    background: var(--white);
    color: var(--primary-blue);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    animation: fade-in-up 1s ease 0.4s both;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    width: 100%;
    max-width: 300px;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    background: var(--off-white);
}

.btn-primary:active {
    transform: translateY(-1px);
}

/* Features Section */
.features {
    padding: 80px 0;
    background: var(--off-white);
}

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

.feature-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px var(--shadow);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    color: var(--primary-blue);
}

.feature-icon svg {
    width: 100%;
    height: 100%;
}

.feature-card h3 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

/* Recipes Preview */
.recipes-preview {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 3rem;
}

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

.recipe-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.recipe-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px var(--shadow);
}

.recipe-image-wrapper {
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: var(--light-silver);
}

.recipe-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.recipe-card:hover .recipe-image-wrapper img {
    transform: scale(1.1);
}

.recipe-content {
    padding: 1.5rem;
}

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

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

.btn-link {
    color: var(--light-blue);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.btn-link:hover {
    color: var(--primary-blue);
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Recipes Detail */
.recipes-detail {
    padding: 60px 0;
}

.recipe-detail {
    margin-bottom: 80px;
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px var(--shadow);
}

.recipe-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 2rem;
}

.recipe-image-large {
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 10px;
    background: var(--light-silver);
}

.recipe-image-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recipe-info h2 {
    color: var(--primary-blue);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.recipe-description {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.recipe-meta {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.recipe-meta span {
    color: var(--secondary-blue);
    font-weight: 600;
}

.recipe-body {
    padding: 2rem;
    background: var(--off-white);
}

.calculator-section {
    margin-bottom: 2rem;
    padding: 2rem;
    background: var(--white);
    border-radius: 10px;
    border: 2px solid var(--light-silver);
}

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

.calculator label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.calculator input[type="number"] {
    width: 100px;
    padding: 10px;
    border: 2px solid var(--light-silver);
    border-radius: 5px;
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.ingredients-list h4 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.ingredients-list ul {
    list-style: none;
    padding-left: 0;
}

.ingredients-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--light-silver);
}

.ingredients-list li:last-child {
    border-bottom: none;
}

.amount {
    font-weight: 600;
    color: var(--secondary-blue);
}

.instructions {
    padding: 2rem;
    background: var(--white);
    border-radius: 10px;
}

.instructions h3 {
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.instructions ol {
    padding-left: 1.5rem;
}

.instructions li {
    margin-bottom: 1rem;
    line-height: 1.8;
}

/* Techniques */
.techniques {
    padding: 60px 0;
}

.technique-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    box-shadow: 0 5px 15px var(--shadow);
    border-left: 4px solid var(--light-blue);
}

.technique-card h2 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.technique-card ul {
    margin-top: 1rem;
    padding-left: 1.5rem;
}

.technique-card li {
    margin-bottom: 0.5rem;
}

/* Condiments */
.condiments {
    padding: 60px 0;
}

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

.condiment-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px var(--shadow);
    border-top: 3px solid var(--silver);
    transition: transform 0.3s ease;
}

.condiment-card:hover {
    transform: translateY(-3px);
}

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

/* FAQ */
.faq {
    padding: 60px 0;
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 1.5rem;
    box-shadow: 0 5px 15px var(--shadow);
    border-left: 4px solid var(--light-blue);
}

.faq-item h3 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

/* About */
.about {
    padding: 60px 0;
}

.about-content article {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    box-shadow: 0 5px 15px var(--shadow);
}

.about-content h2 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

/* Contact */
.contact {
    padding: 60px 0;
}

.contact-info-only {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px var(--shadow);
}

.contact-info-only h2 {
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
}

.contact-info-only p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.contact-info-only a {
    color: var(--light-blue);
    text-decoration: none;
    font-weight: 600;
}

.contact-info-only a:hover {
    text-decoration: underline;
}

.contact-details {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid var(--light-silver);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.contact-item {
    padding: 1.5rem;
    background: var(--off-white);
    border-radius: 10px;
    border-left: 4px solid var(--light-blue);
}

.contact-item h3 {
    color: var(--primary-blue);
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
}

.contact-item p {
    margin-bottom: 0.5rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.contact-item a {
    color: var(--light-blue);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--primary-blue);
    text-decoration: underline;
}

.contact-message {
    max-width: 800px;
    margin: 0 auto 2rem;
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    font-weight: 600;
}

.contact-message.success {
    background: #d4edda;
    color: #155724;
    border: 2px solid #c3e6cb;
}

.contact-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 2px solid #f5c6cb;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
}

.contact-info h2 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.contact-form {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px var(--shadow);
    width: 100%;
    max-width: 100%;
}

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--light-silver);
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
    -webkit-appearance: none;
    appearance: none;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--light-blue);
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

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

.checkbox-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    min-width: 20px;
    margin-top: 0.3rem;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    border: 2px solid var(--light-silver);
    border-radius: 4px;
    background-color: var(--white);
    position: relative;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.checkbox-group input[type="checkbox"]:checked {
    background-color: var(--light-blue);
    border-color: var(--light-blue);
}

.checkbox-group input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid var(--white);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-group input[type="checkbox"]:hover {
    border-color: var(--light-blue);
}

.checkbox-group input[type="checkbox"]:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

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

.checkbox-group a {
    color: var(--light-blue);
    text-decoration: none;
}

.checkbox-group a:hover {
    text-decoration: underline;
}

/* Privacy */
.privacy {
    padding: 60px 0;
}

.privacy-content {
    max-width: 900px;
    margin: 0 auto;
}

.privacy-content article {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    box-shadow: 0 5px 15px var(--shadow);
}

.privacy-content h2 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.privacy-form-section {
    max-width: 900px;
    margin: 3rem auto 0;
    background: var(--white);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px var(--shadow);
    border-top: 4px solid var(--light-blue);
}

.privacy-form-section h2 {
    color: var(--primary-blue);
    margin-bottom: 2rem;
    text-align: center;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    color: var(--white);
    padding: 60px 0 20px;
    margin-top: 80px;
}

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

.footer-section h4 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--light-silver);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--white);
}

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

/* Responsive Design */
@media (max-width: 1200px) {
    .nav-menu a {
        padding: 1rem 1rem;
        font-size: 0.9rem;
    }
    
    .nav-menu a::before {
        width: calc(100% - 2rem);
    }
    
    .nav-menu a.active::after {
        left: 1rem;
        right: 1rem;
    }
}

@media (max-width: 968px) {
    .nav-wrapper {
        min-height: 60px;
    }
    
    .navbar {
        padding: 0.5rem 0;
    }
    
    .logo {
        font-size: 1.3rem;
    }
    
    .nav-menu a {
        font-size: 1.1rem;
        padding: 1rem 0;
        width: 100%;
        text-align: left;
    }
    
    .nav-menu a::before {
        display: none;
    }
    
    .nav-menu a.active::after {
        display: none;
    }
    
    .contact-details {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .mobile-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 0;
        flex-direction: column;
        background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
        width: 100%;
        max-width: 300px;
        height: 100vh;
        text-align: left;
        transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        padding: 80px 2rem 2rem;
        box-shadow: 4px 0 20px rgba(0, 0, 0, 0.2);
        overflow-y: auto;
        z-index: 1000;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-menu a {
        display: block;
        padding: 1rem 0;
        font-size: 1.1rem;
        transform: none !important;
    }
    
    .nav-menu a::before {
        display: none;
    }
    
    .nav-menu a.active::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        height: 3px;
        background: var(--silver);
        display: block;
    }
    
    .nav-menu a.active {
        font-weight: 600;
        color: var(--silver);
        padding-left: 0;
        background: transparent !important;
    }
    
    .nav-menu a:hover {
        transform: none !important;
        color: var(--white);
        background: transparent !important;
    }
    
    /* Overlay for mobile menu */
    body.menu-open::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
        animation: fade-in 0.3s ease;
    }
    
    @keyframes fade-in {
        from { opacity: 0; }
        to { opacity: 1; }
    }

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

    .hero-subtitle {
        font-size: 1.2rem;
    }

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

    .recipe-image-large {
        height: 300px;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .privacy-form-section {
        padding: 1.5rem;
    }
    
    .form-group input,
    .form-group textarea {
        font-size: 16px; /* Prevents zoom on iOS */
        padding: 14px;
    }
    
    .btn-primary {
        width: 100%;
        max-width: 100%;
        padding: 16px;
        font-size: 1.1rem;
    }
    
    .checkbox-group {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .checkbox-group label {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .features-grid,
    .recipes-grid,
    .condiments-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

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

    .page-header h1 {
        font-size: 2rem;
    }

    .recipe-info h2 {
        font-size: 2rem;
    }
}

