/* Reset and Base Styles */
@import url(font-awesome.min.css);

@font-face {
    font-family: 'SegoePrint-Regular';
    src: local('SegoePrint-Regular'),
        url('fonts/SegoePrint-Regular.woff'),
        url('fonts/SegoePrint-Regular.woff2');
}

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

:root {
    --cream: #FDF6F0;
    --white: #FFFFFF;
    --almond: #FFF8F0;
    --pink: #E8B4B4;
    --lavender: #A58FAA;
    --caramel: #C9A87A;
    --dark: #333333;
    --gray: #666666;
    --light-gray: #f8f9fa;

}

body {
    font-family: SegoePrint-Regular;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--white);
    font-weight: 400;
}


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

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

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

/* Header */
.header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

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

.nav-brand h2 {
    color: var(--pink);
    font-family: 'Playfair Display', serif;
}

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

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

.nav-menu a:hover {
    color: var(--pink);
}


.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
    background: transparent;
    border: none;
    width: 30px;
    height: 30px;
    justify-content: center;
    align-items: center;
}

.hamburger span {
    /* width: 24px;
    height: 2px; */
    width: 25px;
    height: 3px;
    background: var(--dark);
    /* margin: 2px 0; */
    margin: 2px 0;
    transition: 0.3s;
    transform-origin: center;
    display: block;
}


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

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

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

/* Hero Section */
.hero {
    /* min-height: 100vh; */
    min-height: 50vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    padding: 80px 2rem 2rem;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(253, 246, 240, 0.8);
}

.hero-content {
    position: relative;
    z-index: 2;
    flex: 1;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}


/* Buttons */
.cta-button {
    margin: 15px;
    display: inline-block;
    background: var(--pink);
    color: var(--white);
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    background: var(--lavender);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.secondary-button {
    display: inline-block;
    border: 2px solid var(--pink);
    color: var(--pink);
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
}

.secondary-button:hover {
    background: var(--pink);
    color: var(--white);
}

/* Featured Section with Portfolio Style */
.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.featured-item {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    background: var(--white);
}

.featured-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* .featured-image {
    height: 300px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
} */
.featured-image {
    position: relative;
    width: 100%;
    aspect-ratio: 2/3;
    /* Соотношение для вертикальных изображений */
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-color: #f8f9fa;
    border-radius: 10px;
    overflow: hidden;
}

.featured-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
    padding: 2rem;
}

.featured-item:hover .featured-overlay {
    opacity: 1;
}

.featured-info {
    text-align: center;
    color: var(--white);
    transform: translateY(20px);
    transition: transform 0.3s;
}

.featured-item:hover .featured-info {
    transform: translateY(0);
}

.featured-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.featured-info p {
    margin-bottom: 1rem;
    opacity: 0.9;
    line-height: 1.5;
}

.featured-price {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--pink);
    display: block;
    margin-bottom: 1.5rem;
    font-family: var(--font-script);
}

.featured-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin: 5px;
}

.btn-order-featured {
    padding: 12px 25px;
    background: var(--pink);
    color: var(--white);
    border: none;
    border-radius: 25px;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    font-family: var(--font-body);
    font-weight: 500;
    transition: all 0.3s;
    font-size: 0.95rem;
}

.btn-order-featured:hover {
    background: var(--lavender);
    transform: translateY(-2px);
}

/* Responsive Design for Featured Section */
@media (max-width: 768px) {
    .featured-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }

    .featured-overlay {
        padding: 1.5rem;
    }

    .featured-info h3 {
        font-size: 1.3rem;
    }

    .featured-price {
        font-size: 1.3rem;
    }

    .btn-order-featured {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .hamburger {
        display: flex;
    }

    .nav {
        padding: 1rem;
    }

    .nav-brand h2 {
        font-size: 1.3rem;
    }

    .hero {
        padding: 70px 1rem 2rem;
        /* min-height: 80vh; */
        min-height: 40vh;
    }

    .hero-title {
        font-family: var(--font-heading);
        font-size: 3.5rem;
        font-weight: 600;
        /* font-size: 2rem; */
    }

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

    .hero-image {
        margin-left: 0;
        margin-top: 2rem;
        min-height: 300px;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        /* Более узкое меню */
        height: 80vh;
        background: var(--white);
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 80px 0 0 0;
        transition: right 0.3s ease-in-out;
        box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
        z-index: 1000;
        overflow-y: auto;
    }

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

    .nav-menu li {
        margin: 0;
        width: 100%;
        border-bottom: 1px solid #f8f8f8;
    }


    .nav-menu a {
        display: block;
        padding: 16px 25px;
        font-size: 1rem;
        font-weight: 500;
        color: var(--dark);
        text-decoration: none;
        transition: all 0.3s ease;
        width: 100%;
        text-align: left;
    }

    .nav-menu a:hover {
        background: var(--cream);
        color: var(--pink);
        padding-left: 30px;
    }

    .menu-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.4);
        backdrop-filter: blur(2px);
        z-index: 999;
        animation: fadeIn 0.3s ease;
    }

    @keyframes fadeIn {
        from {
            opacity: 0;
        }

        to {
            opacity: 1;
        }
    }

    .menu-overlay.active {
        display: block;
    }

    /* Close button inside menu */
    .menu-close {
        position: absolute;
        top: 20px;
        right: 20px;
        background: none;
        border: none;
        font-size: 1.5rem;
        color: var(--gray);
        cursor: pointer;
        width: 30px;
        height: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 1002;
    }

    .menu-close:hover {
        color: var(--dark);
    }

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

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

    .filter-buttons {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 1rem;
    }

    .filter-btn {
        white-space: nowrap;
    }

    .page-title {
        font-size: 2.2rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .portfolio-actions {
        flex-direction: column;
    }

    .modal-content {
        /* overflow-y: auto; */
        max-height: calc(100vh - 20px);
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .service-card {
        padding: 1.5rem;
    }

    .fillings-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .filling-items {
        grid-template-columns: 1fr;
    }

    .filling-item {
        justify-content: center;
    }

    .specialties {
        margin-top: 1.5rem;
        padding: 1rem;
    }

    .pricing-delivery {
        padding: 3rem 0;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        max-width: 400px;
    }

    .pricing-card {
        padding: 2rem 1rem;
    }

    .pricing-icon {
        font-size: 3rem;
    }

    .pricing-details {
        font-size: 1.6rem;
    }

    .pricing-notice {
        padding: 1rem;
        margin-bottom: 1.5rem;
    }

    .pricing-notice p {
        font-size: 1rem;
    }

    .purchase-modal {
        margin: 5% auto;
        width: 95%;
        max-width: 95%;
        overflow-y: auto;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .modal-title {
        font-size: 1.5rem;
    }
    .footer {
        padding: 25px 15px 15px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 25px;
    }
    
    .footer-section {
        min-width: 100%;
        width: 100%;
    }
    
    .footer-section h4 {
        font-size: 1.3rem;
        margin-bottom: 15px;
    }
    
    .contact-link {
        font-size: 1rem;
        padding: 8px 0;
    }
    
    .footer-bottom {
        font-size: 0.9rem;
        padding-top: 15px;
    }
    
    /* Убедимся, что ничего не выходит за границы */
    .footer-section,
    .footer-content,
    .footer-bottom {
        max-width: 100%;
        overflow: hidden;
    }
}

@media (max-width: 480px) {
    .featured-grid {
        grid-template-columns: 1fr;
    }

    .featured-overlay {
        padding: 1rem;
    }

    .featured-info h3 {
        font-size: 1.2rem;
    }

    .featured-info p {
        font-size: 0.9rem;
    }

    .nav-menu {
        width: 260px;
    }

    .nav-menu a {
        padding: 14px 20px;
        font-size: 0.95rem;
    }

    .nav {
        padding: 10px 15px;
    }

    .nav-brand h2 {
        font-size: 1.3rem;
    }

    .services {
        padding: 3rem 0;
    }

    .fillings {
        padding: 3rem 0;
    }

    .service-icon {
        font-size: 2.5rem;
    }

    .modal-content {
        /* overflow-y: auto; */
        max-height: calc(100vh - 20px);
    }

    .purchase-modal {
        overflow-y: auto;
    }

    .pricing-delivery {
        padding: 2.5rem 0;
    }

    .pricing-card {
        padding: 1.5rem 1rem;
    }

    .pricing-icon {
        font-size: 2.5rem;
    }

    .pricing-details {
        font-size: 1.4rem;
    }

    .pricing-card h3 {
        font-size: 1.2rem;
    }

    .purchase-modal {
        overflow-y: auto;
    }
    .footer {
        padding: 20px 10px 10px;
    }
    
    .footer-section h4 {
        font-size: 1.2rem;
    }
    
    .contact-link {
        font-size: 0.95rem;
    }
    
    .contact-link i {
        font-size: 1.2rem;
        margin-right: 10px;
    }
    
    .footer-bottom {
        font-size: 0.85rem;
        line-height: 1.4;
    }

}

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

.cake-image {
    height: 250px;
    /* background-size: cover; */
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.3s ease;
}

.cake-card:hover .cake-image {
    transform: scale(1.05);
}


/* Placeholder styles for missing images */
.cake-image:empty::before {
    content: "🎂";
    font-size: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    background: var(--light-gray);
    color: var(--gray);
}

.about-image {
    aspect-ratio: 2/3;
}

.cake-info {
    padding: 1.5rem;
}

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

.cake-info p {
    color: var(--gray);
    margin-bottom: 1rem;
}

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

.text-center {
    margin: 15px;
    text-align: center;
}

/* About Section */
.about {
    padding: 5rem 0;
    background: var(--cream);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    margin-bottom: 1.5rem;
}

.about-image {
    height: 400px;
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}



/* Process Section */
.process {
    padding: 5rem 0;
    background: var(--white);
}

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

.step {
    text-align: center;
    padding: 2rem;
}

.step-icon {
    width: 80px;
    height: 80px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin: 0 auto 1rem;
    font-size: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}


.step h3 {
    margin-bottom: 1rem;
    color: var(--dark);
}

/* Contact Form */
.contact {
    padding: 5rem 0;
    background: var(--cream);
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s;
    font-family: 'Montserrat', sans-serif;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--pink);
}

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

/* Footer */
/* Общие стили для футера */
.footer {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    color: #333;
    padding: 30px 20px 20px;
    width: 100%;
    max-width: 100vw;
    overflow: hidden;
    box-sizing: border-box;
    border-top: 3px solid #e9a3a8;
    margin-top: auto; /* Для прижатия к низу, если используется flex/grid layout */
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto 30px;
    box-sizing: border-box;
}

.footer-section {
    flex: 1;
    min-width: 250px;
}

.footer-section h4 {
    color: #d63384;
    font-size: 1.4rem;
    margin-bottom: 20px;
    font-weight: 600;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background: #d63384;
}

.social-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-link {
    display: flex;
    align-items: center;
    color: var(--dark);
    text-decoration: none;
    padding: 10px 0;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.contact-link:hover {
    color: var(--dark);
    transform: translateX(5px);
}

.contact-link i {
    width: 24px;
    height: 24px;
    margin-right: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: #d63384;
}

.social-links li {
    margin-bottom: 12px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(214, 51, 132, 0.2);
    color: var(--dark);
    font-size: 0.95rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Адаптивность для мобильных устройств */
/* @media (max-width: 768px) {

} */

/* @media (max-width: 480px) {

} */



/* Анимация при наведении для соцсетей */
@keyframes socialIconPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.contact-link:hover i {
    animation: socialIconPulse 0.6s ease;
}

/* Специфичные цвета для разных соцсетей */
/* .contact-link[href*="instagram"]:hover i {
    color: #E4405F;
}

.contact-link[href*="whatsapp"]:hover i {
    color: #25D366;
}

.contact-link[href*="telegram"]:hover i {
    color: #0088cc;
}

.contact-link[href*="tel"]:hover i {
    color: #34b7f1;
} */
/* .footer {
    display: flex;
    background: var(--lavender);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h1,
.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--dark);
}

.footer-section p {
    margin-bottom: 0.5rem;
    color: #ccc;
}

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

.social-links a {
    color: var(--dark);
    text-decoration: none;
    transition: color 0.3s;
}

.social-links a:hover {
    color: var(--pink);
}

.social-links li {
    color: var(--dark);
    display: flex;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #444;
    color: var(--dark);
} */

/* Flash Messages */
.flash-messages {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 1000;
}

.flash-message {
    padding: 15px 20px;
    margin-bottom: 10px;
    border-radius: 5px;
    color: white;
    font-weight: 500;
}

.flash-message.success {
    background: #4CAF50;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.3s ease;
    text-decoration: none;
}

/* .contact-link:hover {
    color: #007bff;
}

.contact-link i {

    font-size: 1.4rem;
    width: 30px;
    text-align: center;
} */

/* Responsive Design */
/* @media (max-width: 768px) {


} */
/* 
@media (max-width: 480px) {

} */

/* Portfolio Styles */
.portfolio-header {
    background: linear-gradient(135deg, var(--cream) 0%, var(--almond) 100%);
    padding: 120px 0 60px;
    text-align: center;
}

.page-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.page-subtitle {
    font-size: 1.2rem;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

/* Portfolio Filters */
.portfolio-filters {
    padding: 2rem 0;
    background: var(--white);
    border-bottom: 1px solid #eee;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.filter-btn {
    padding: 10px 20px;
    border: 2px solid var(--pink);
    background: transparent;
    color: var(--pink);
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--pink);
    color: var(--white);
}

/* Portfolio Grid */
.portfolio-grid-section {
    padding: 3rem 0;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.portfolio-item {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    background: var(--white);
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* .portfolio-image {
    height: 300px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
} */
.portfolio-image {
    position: relative;
    width: 100%;
    aspect-ratio: 2/3;
    /* Соотношение для вертикальных изображений */
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-color: #f8f9fa;
    border-radius: 10px;
    overflow: hidden;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
    padding: 2rem;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-info {
    text-align: center;
    color: var(--white);
    transform: translateY(20px);
    transition: transform 0.3s;
}

.portfolio-item:hover .portfolio-info {
    transform: translateY(0);
}

.portfolio-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.portfolio-info p {
    margin-bottom: 1rem;
    opacity: 0.9;
}

.portfolio-price {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--pink);
    display: block;
    margin-bottom: 1.5rem;
}

.portfolio-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* .btn-quick-view, */
.btn-order {
    padding: 10px 20px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
}

/* .btn-quick-view {
    background: var(--white);
    color: var(--dark);
}

.btn-quick-view:hover {
    background: var(--lavender);
    color: var(--white);
} */

.btn-order {
    background: var(--pink);
    color: var(--white);
}

.btn-order:hover {
    background: var(--lavender);
}

/* Empty State */
.portfolio-empty {
    text-align: center;
    padding: 4rem 0;
}

.empty-state h3 {
    margin-bottom: 1rem;
    color: var(--dark);
}

.empty-state p {
    margin-bottom: 2rem;
    color: var(--gray);
}

/* Statistics */
.portfolio-stats {
    padding: 4rem 0;
    background: var(--cream);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item {
    padding: 2rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--pink);
    margin-bottom: 0.5rem;
    font-family: 'Playfair Display', serif;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--dark);
    font-weight: 500;
}

/* Portfolio CTA */
.portfolio-cta {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--pink) 0%, var(--lavender) 100%);
    color: var(--white);
    text-align: center;
}

.portfolio-cta h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.portfolio-cta p {
    margin-bottom: 2rem;
    opacity: 0.9;
}

.portfolio-cta .cta-button {
    background: var(--white);
    color: var(--pink);
}

.portfolio-cta .cta-button:hover {
    background: var(--cream);
    transform: translateY(-2px);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
}

.modal-content {
    background-color: var(--white);
    margin: 5% auto;
    padding: 0;
    border-radius: 15px;
    width: 90%;
    max-width: 600px;
    position: relative;
    animation: modalAppear 0.3s;
}

@keyframes modalAppear {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.modal-close {
    position: absolute;
    right: 15px;
    top: 15px;
    font-size: 2rem;
    cursor: pointer;
    color: var(--gray);
    z-index: 1001;
}

.modal-close:hover {
    color: var(--dark);
}

.modal-body {
    padding: 2rem;
}

/* Responsive Design */
/* @media (max-width: 768px) {

} */

.date-input {
    width: 100%;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s;
    font-family: var(--font-body);
}

.date-input:focus {
    outline: none;
    border-color: var(--pink);
}

/* Services Section */
.services {
    padding: 5rem 0;
    background: var(--white);
}

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

.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #f0f0f0;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.service-card h3 {
    color: var(--dark);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.service-card p {
    color: var(--gray);
    line-height: 1.6;
}

/* Fillings Section */
.fillings {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--cream) 0%, var(--almond) 100%);
}

.fillings-content {
    /* display: grid; */
    /* grid-template-columns: 1fr 1fr; */
    gap: 3rem;
    align-items: center;
    margin-top: 3rem;
}

.filling-items {
    display: grid;
    /* grid-template-columns: repeat(2, 1fr); */
    gap: 1rem;
}

.filling-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.filling-item:hover {
    transform: translateX(5px);
}

.filling-icon {
    font-size: 1.5rem;
}

.filling-name {
    font-weight: 500;
    color: var(--dark);
}

.filling-description {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.filling-description p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--dark);
}

/* Specialties in About Section */
.specialties {
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
}

.specialties h4 {
    color: var(--pink);
    margin-bottom: 1rem;
}

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

.specialties li {
    padding: 0.5rem 0;
    color: var(--dark);
    position: relative;
    padding-left: 1.5rem;
}

.specialties li:before {
    content: "🎂";
    position: absolute;
    left: 0;
}

/* Contact Subtitle */
.contact-subtitle {
    text-align: center;
    color: var(--gray);
    margin-bottom: 2rem;
    font-size: 1.1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive Design */
/* @media (max-width: 768px) {

} */

/* @media (max-width: 480px) {

} */

/* Pricing & Delivery Section */
.pricing-delivery {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--pink) 0%, var(--lavender) 100%);
    color: var(--white);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    background: rgba(255, 255, 255, 0.15);
    padding: 2.5rem 1.5rem;
    border-radius: 20px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s, background 0.3s;
}

.pricing-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.25);
}

.pricing-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    display: block;
}

.pricing-card h3 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 1.4rem;
    font-weight: 600;
}

.pricing-details {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.pricing-description {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
    font-size: 1rem;
}

/* Pricing Notice in Contact Form */
.pricing-notice {
    background: var(--cream);
    padding: 1.5rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    text-align: center;
    border: 2px solid var(--pink);
}

.pricing-notice p {
    margin: 0;
    color: var(--dark);
    font-size: 1.1rem;
    font-weight: 500;
}

.pricing-notice strong {
    color: var(--pink);
}

/* Responsive Design for Pricing Section */
/* @media (max-width: 768px) {

} */

/* @media (max-width: 480px) {

} */

/* Purchase Modal Styles */
.purchase-modal {
    max-width: 500px;
    background: var(--white);
    border-radius: 20px;
}

.modal-title {
    text-align: center;
    color: var(--dark);
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

.purchase-form {
    padding: 0 1rem;
}

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

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

.purchase-form input,
.purchase-form select,
.purchase-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s;
    font-family: var(--font-body);
}

.purchase-form input:focus,
.purchase-form select:focus,
.purchase-form textarea:focus {
    outline: none;
    border-color: var(--pink);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* Order Summary */
.order-summary {
    background: var(--cream);
    padding: 1.5rem;
    border-radius: 10px;
    margin: 1.5rem 0;
}

.order-summary h4 {
    margin-bottom: 1rem;
    color: var(--dark);
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.summary-label {
    color: var(--gray);
}

.summary-value {
    color: var(--dark);
    font-weight: 600;
}

/* Payment Button */
.payment-button {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.payment-notice {
    text-align: center;
    color: var(--gray);
    font-size: 0.9rem;
    margin: 0;
}

/* Loading Overlay */
.loading-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    color: var(--white);
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(255, 255, 255, 0.3);
    border-top: 5px solid var(--pink);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Buy Now Button */
.btn-buy-now {
    padding: 10px 20px;
    background: var(--pink);
    color: var(--white);
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-family: var(--font-body);
    font-weight: 500;
    transition: all 0.3s;
    font-size: 0.9rem;
}

.btn-buy-now:hover {
    background: var(--lavender);
    transform: translateY(-2px);
}

/* Responsive Design */
/* @media (max-width: 768px) {

} */

/* Fillings Page Styles */
.fillings-page .section-title {
    color: var(--dark);
}

.filling-card {
    border: 2px solid transparent;
    transition: border-color 0.3s;
}

.filling-card:hover {
    border-color: var(--pink);
}

/* Анимация появления карточек */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

.filling-card {
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: both;
}

.filling-card:nth-child(1) {
    animation-delay: 0.1s;
}

.filling-card:nth-child(2) {
    animation-delay: 0.2s;
}

.filling-card:nth-child(3) {
    animation-delay: 0.3s;
}

.filling-card:nth-child(4) {
    animation-delay: 0.4s;
}

.filling-card:nth-child(5) {
    animation-delay: 0.5s;
}

.filling-card:nth-child(6) {
    animation-delay: 0.6s;
}