/* ===== Global Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

:root {
    --primary-color: #fac031;
    --secondary-color: #333;
    --text-color: #555;
    --light-bg: #f9f9f9;
    --white: #fff;
    --shadow: 0 5px 15px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
}

body {
    color: var(--text-color);
    line-height: 1.6;
}

section {
    width: 100%;
    min-height: 100vh;
    padding: 80px 5%;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-title span {
    color: var(--primary-color);
    font-family: 'Dancing Script', cursive;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 3px;
    background: var(--primary-color);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(250, 192, 49, 0.3);
}

/* ===== Navigation ===== */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    padding: 20px 5%;
    transition: var(--transition);
}

nav.scrolled {
    padding: 15px 5%;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.logo img {
    width: 120px;
    height: auto;
    transition: var(--transition);
}

.nav-links {
    display: flex;
    align-items: center;
    transition: var(--transition);
}

.nav-links ul {
    display: flex;
    list-style: none;
}

.nav-links ul li {
    margin: 0 15px;
    position: relative;
}

.nav-links ul li a {
    text-decoration: none;
    color: var(--secondary-color);
    font-weight: 500;
    font-size: 1rem;
    transition: var(--transition);
    padding: 5px 0;
}

.nav-links ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    bottom: 0;
    left: 0;
    transition: var(--transition);
}

.nav-links ul li a:hover::after {
    width: 100%;
}

.nav-links ul li a:hover {
    color: var(--primary-color);
}

.icons {
    display: flex;
    align-items: center;
    margin-left: 20px;
}

.icons i {
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin: 0 10px;
    cursor: pointer;
    transition: var(--transition);
}

.icons i:hover {
    color: var(--primary-color);
    transform: translateY(-3px);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    cursor: pointer;
    z-index: 1001;
}

.hamburger div {
    width: 25px;
    height: 3px;
    background: var(--secondary-color);
    margin: 5px;
    transition: var(--transition);
}

/* ===== Hero Section ===== */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 150px 5% 50px;
    flex-wrap: wrap;
}

.hero-text {
    flex: 1;
    min-width: 300px;
    padding-right: 20px;
}

.hero-text h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--secondary-color);
}

.hero-text h1 span {
    color: var(--primary-color);
    font-family: 'Dancing Script', cursive;
    display: inline-block;
}

.hero-text p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-color);
    margin-bottom: 30px;
    max-width: 500px;
}

.hero-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

/* ===== About Section ===== */
.about {
    background: var(--light-bg);
}

.about-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.about-image {
    flex: 1;
    min-width: 300px;
    padding: 20px;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.about-text {
    flex: 1;
    min-width: 300px;
    padding: 20px;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.about-text h3 {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.about-text p {
    font-size: 1rem;
    margin-bottom: 20px;
}

/* ===== Menu Section ===== */
.menu {
    text-align: center;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.menu-item {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.menu-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.menu-img {
    height: 250px;
    overflow: hidden;
}

.menu-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.menu-item:hover .menu-img img {
    transform: scale(1.1);
}

.menu-content {
    padding: 25px;
}

.menu-content h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin: 15px 0;
    display: block;
}

.rating {
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* ===== Gallery Section ===== */
.gallery {
    background: var(--light-bg);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 50px;
}

.gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    height: 250px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.1);
    opacity: 0.8;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: rgba(0,0,0,0.5);
    opacity: 0;
    transition: var(--transition);
    color: var(--white);
    padding: 20px;
    text-align: center;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    transform: translateY(20px);
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay h3 {
    transform: translateY(0);
}

.gallery-overlay p {
    transform: translateY(20px);
    transition: var(--transition);
    transition-delay: 0.1s;
}

.gallery-item:hover .gallery-overlay p {
    transform: translateY(0);
}

/* ===== Reviews Section ===== */
.reviews {
    text-align: center;
}

.review-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.review-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.review-card:hover {
    transform: translateY(-10px);
}

.review-profile {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
    border: 5px solid var(--primary-color);
}

.review-profile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.review-text h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.rating {
    margin-bottom: 15px;
}

.review-text p {
    font-style: italic;
    margin-bottom: 15px;
}

.review-social {
    margin-top: 15px;
}

.review-social i {
    color: var(--secondary-color);
    margin: 0 5px;
    transition: var(--transition);
}

.review-social i:hover {
    color: var(--primary-color);
}

/* ===== Order Section ===== */
.order {
    background: url('image/bg2.jpg') no-repeat center center/cover;
    position: relative;
    color: var(--white);
    text-align: center;
}

.order::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
}

.order .section-title,
.order .section-title span,
.order .section-title::after {
    color: var(--white);
    position: relative;
    z-index: 1;
}

.order .section-title::after {
    background: var(--white);
}

.order-container {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.order-image {
    flex: 1;
    min-width: 300px;
    padding: 20px;
}

.order-image img {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    display: block;
    animation: float 4s ease-in-out infinite;
}

.order-form {
    flex: 1;
    min-width: 300px;
    padding: 20px;
    background: rgba(255,255,255,0.9);
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: var(--secondary-color);
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--primary-color);
    outline: none;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* ===== Team Section ===== */
.team {
    background: url('image/bg1.jpg') no-repeat center center/cover;
    position: relative;
    color: var(--white);
    text-align: center;
}

.team::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
}

.team .section-title,
.team .section-title span,
.team .section-title::after {
    color: var(--white);
    position: relative;
    z-index: 1;
}

.team .section-title::after {
    background: var(--white);
}

.team-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.team-member {
    background: rgba(255,255,255,0.9);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    color: var(--secondary-color);
}

.team-member:hover {
    transform: translateY(-10px);
}

.team-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
    border: 5px solid var(--primary-color);
}

.team-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-info h3 {
    font-size: 1.3rem;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.team-info p {
    margin-bottom: 15px;
    font-weight: 500;
}

.team-social {
    margin-top: 15px;
}

.team-social i {
    color: var(--secondary-color);
    margin: 0 10px;
    font-size: 1.2rem;
    transition: var(--transition);
    cursor: pointer;
}

.team-social i:hover {
    color: var(--primary-color);
    transform: translateY(-3px);
}

/* ===== Footer ===== */
footer {
    background: var(--secondary-color);
    color: var(--white);
    padding: 80px 5% 30px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.footer-col h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background: var(--primary-color);
}

.footer-col p,
.footer-col a {
    color: #ddd;
    margin-bottom: 10px;
    display: block;
    transition: var(--transition);
    text-decoration: none;
}

.footer-col a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-social {
    display: flex;
    margin-top: 20px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary-color);
    transform: translateY(-5px);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.copyright span {
    color: var(--primary-color);
}

/* ===== Responsive Design ===== */
@media (max-width: 1200px) {
    html {
        font-size: 15px;
    }
    
    .hero-text h1 {
        font-size: 3rem;
    }
}

@media (max-width: 992px) {
    .section-title {
        font-size: 2.2rem;
    }
    
    .menu-grid,
    .gallery-grid,
    .review-grid,
    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        box-shadow: -5px 0 20px rgba(0,0,0,0.1);
        transition: var(--transition);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links ul {
        flex-direction: column;
        align-items: center;
    }
    
    .nav-links ul li {
        margin: 15px 0;
    }
    
    .icons {
        margin-left: 0;
        margin-top: 30px;
    }
    
    /* Toggle animation */
    .hamburger.active div:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    
    .hamburger.active div:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active div:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
    
    .hero {
        padding-top: 120px;
        text-align: center;
    }
    
    .hero-text {
        padding-right: 0;
        margin-bottom: 50px;
    }
    
    .about-content,
    .order-container {
        flex-direction: column;
    }
    
    .about-image,
    .about-text,
    .order-image,
    .order-form {
        padding: 10px;
    }
    
    .section-title::after {
        width: 70px;
    }
}

@media (max-width: 576px) {
    html {
        font-size: 14px;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    nav {
        padding: 15px;
    }
    
    .logo img {
        width: 100px;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
    }
}
