/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #2C1810;
    background-color: #FDFCFB;
}

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

/* Typography */
h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    color: #8B4513;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2.5rem;
    font-weight: 600;
    line-height: 1.2;
    color: #8B4513;
    margin-bottom: 2rem;
    text-align: center;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #8B4513;
    margin-bottom: 1rem;
}

h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #8B4513;
    margin-bottom: 0.5rem;
}

p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #4A3429;
    margin-bottom: 1rem;
}

/* Header */
.header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #E8E0D6;
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo {
    width: 48px;
    height: 48px;
}

.brand-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #8B4513;
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav a {
    color: #8B4513;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.nav a:hover {
    background-color: #F5DEB3;
    color: #5D2F0A;
}

/* Hero Section */
.hero {
    padding: 6rem 0;
    background: linear-gradient(135deg, #F5DEB3 0%, #E8DCC0 50%, #DDD3B8 100%);
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 4rem;
    min-height: 400px;
}

.hero-text {
    flex: 1;
}

.hero h1 {
    color: #8B4513;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.2rem;
    color: #5D2F0A;
    margin-bottom: 2rem;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(139, 69, 19, 0.2);
    object-fit: cover;
}

/* Buttons */
.cta-button {
    background: linear-gradient(135deg, #8B4513 0%, #A0522D 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 69, 19, 0.3);
}

.secondary-button {
    background-color: transparent;
    color: #8B4513;
    border: 2px solid #8B4513;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.secondary-button:hover {
    background-color: #8B4513;
    color: white;
    transform: translateY(-2px);
}

/* Image Placeholders */
.content-img {
    width: 100%;
    height: auto;
    min-height: 300px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(139, 69, 19, 0.1);
    object-fit: cover;
}

.product-img {
    width: 100%;
    height: 200px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 2px 10px rgba(139, 69, 19, 0.1);
}

/* Sections */
.about, .services, .brewing-guides, .bean-reviews, .latte-art, .products, .community, .contacts {
    padding: 5rem 0;
    text-align: center;
}

.about {
    background-color: white;
}

.services {
    background: linear-gradient(135deg, #FDFCFB 0%, #F9F7F4 100%);
}

.brewing-guides, .latte-art {
    background-color: white;
}

.bean-reviews {
    background: linear-gradient(135deg, #F9F7F4 0%, #F5F2EF 100%);
}

.products {
    background: linear-gradient(135deg, #F5DEB3 0%, #E8DCC0 100%);
}

.community {
    background-color: white;
}

.contacts {
    background: linear-gradient(135deg, #F9F7F4 0%, #F5F2EF 100%);
}

/* Grid Layouts */
.about-grid, .services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.about-item, .service-card {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(139, 69, 19, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-item:hover, .service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(139, 69, 19, 0.15);
}

.icon, .service-icon {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

/* Content Sections */
.guides-content, .reviews-content, .latte-content, .community-content, .contacts-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 3rem;
}

.guides-text ul {
    margin: 2rem 0;
    padding-left: 2rem;
}

.guides-text li {
    margin-bottom: 0.8rem;
    color: #5D2F0A;
    font-size: 1.1rem;
}

.review-features {
    margin: 2rem 0;
}

.feature {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.5rem;
}

.feature strong {
    color: #8B4513;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.feature span {
    color: #5D2F0A;
    font-size: 1rem;
}

/* Skills Grid */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 2rem 0;
}

.skill {
    background-color: #F5DEB3;
    padding: 0.8rem;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
    color: #8B4513;
}

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

.product-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(139, 69, 19, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(139, 69, 19, 0.15);
}

.product-image {
    margin-bottom: 1.5rem;
}

.product-image .image-placeholder {
    min-height: 200px;
}

.product-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #8B4513;
    margin: 1rem 0;
}

.product-button {
    background: linear-gradient(135deg, #8B4513 0%, #A0522D 100%);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    width: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 69, 19, 0.3);
}

/* Community Features */
.community-features {
    margin: 2rem 0;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: #5D2F0A;
}

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

/* Contacts Section */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(139, 69, 19, 0.1);
}

.contact-icon {
    flex-shrink: 0;
}

.contact-details h3 {
    margin-bottom: 0.5rem;
}

.contact-details p {
    margin-bottom: 0;
    color: #5D2F0A;
}

/* Footer */
.footer {
    background-color: #2C1810;
    color: #F5DEB3;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 3rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.footer-brand {
    flex: 2;
    min-width: 300px;
}

.footer-brand .brand {
    margin-bottom: 1rem;
}

.footer-brand .brand-name {
    color: #F5DEB3;
}

.footer-brand p {
    color: #D2B48C;
    margin-bottom: 0;
}

.footer-links {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    min-width: 250px;
}

.footer-column h4 {
    color: #F5DEB3;
    margin-bottom: 1rem;
}

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

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

.footer-column a {
    color: #D2B48C;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: #F5DEB3;
}

.footer-bottom {
    border-top: 1px solid #5D2F0A;
    padding-top: 1rem;
    text-align: center;
}

.footer-bottom p {
    color: #D2B48C;
    margin-bottom: 0;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 2rem;
    border-radius: 16px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
    color: #8B4513;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #8B4513;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #E8DCC0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #8B4513;
}

.submit-button {
    background: linear-gradient(135deg, #8B4513 0%, #A0522D 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    width: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 69, 19, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .guides-content,
    .reviews-content,
    .latte-content,
    .community-content,
    .contacts-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-grid,
    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .brand-name {
        font-size: 1.2rem;
    }
    
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav {
        gap: 1rem;
    }
}

/* Cookie Banner Styles */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #2C1810 0%, #3D2317 100%);
    color: #F5DEB3;
    padding: 1.5rem;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    z-index: 1500;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-banner.show {
    transform: translateY(0);
}

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

.cookie-text p {
    margin: 0;
    color: #F5DEB3;
    font-size: 1rem;
}

.cookie-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-shrink: 0;
}

.cookie-accept {
    background: linear-gradient(135deg, #8B4513 0%, #A0522D 100%);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.cookie-accept:hover {
    transform: translateY(-2px);
}

.cookie-reject {
    background: transparent;
    color: #F5DEB3;
    border: 2px solid #F5DEB3;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cookie-reject:hover {
    background: #F5DEB3;
    color: #2C1810;
}

.cookie-customize {
    background: transparent;
    color: #D2B48C;
    border: 2px solid #D2B48C;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cookie-customize:hover {
    background: #D2B48C;
    color: #2C1810;
}

.cookie-learn-more {
    color: #D2B48C;
    text-decoration: underline;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.cookie-learn-more:hover {
    color: #F5DEB3;
}

/* Cookie Modal Styles */
.cookie-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.cookie-modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 2rem;
    border-radius: 16px;
    width: 90%;
    max-width: 600px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-height: 80vh;
    overflow-y: auto;
}

.cookie-close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.cookie-close:hover {
    color: #8B4513;
}

.cookie-category {
    margin-bottom: 2rem;
    padding: 1rem;
    border: 1px solid #E8DCC0;
    border-radius: 8px;
}

.cookie-category-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.cookie-category input[type="checkbox"] {
    width: 18px;
    height: 18px;
}

.cookie-category label {
    color: #8B4513;
    cursor: pointer;
}

.cookie-category p {
    margin: 0;
    color: #5D2F0A;
    font-size: 0.9rem;
    line-height: 1.4;
}

.cookie-modal-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
}

.cookie-save,
.cookie-accept-all {
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.cookie-save {
    background: transparent;
    color: #8B4513;
    border: 2px solid #8B4513;
}

.cookie-save:hover {
    background: #8B4513;
    color: white;
}

.cookie-accept-all {
    background: linear-gradient(135deg, #8B4513 0%, #A0522D 100%);
    color: white;
    border: none;
}

.cookie-accept-all:hover {
    transform: translateY(-2px);
}

/* Responsive cookie banner */
@media (max-width: 768px) {
    .hero-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .cookie-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .cookie-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .cookie-accept,
    .cookie-reject,
    .cookie-customize {
        width: 100%;
        max-width: 200px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .cookie-modal-actions {
        flex-direction: column;
    }
}