@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&family=Open+Sans:wght@400;600&display=swap');

:root {
    --primary-color: #3a3a3a;
    --accent-color: #d4a574;
    --background-color: #f5f3f0;
    --highlight-color: #b87333;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    background-color: var(--background-color);
    color: var(--primary-color);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--highlight-color);
}

header {
    background-color: #ffffff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    min-height: 70px;
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu li a {
    color: var(--primary-color);
    font-weight: 600;
    padding: 0.5rem 1rem;
    display: block;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0.5rem;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 3px 0;
    transition: 0.3s;
}

section {
    margin: 2rem 0;
    padding: 0 2rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.hero {
    margin-top: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    min-height: 500px;
    padding: 4rem 2rem;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    animation: fadeIn 1s ease-in;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    animation: fadeIn 1s ease-in 0.2s both;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    animation: fadeIn 1s ease-in 0.4s both;
}

.btn-primary {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--accent-color);
    color: #ffffff;
    border: 2px solid var(--accent-color);
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    animation: fadeIn 1s ease-in 0.6s both, pulse 2s ease-in-out infinite;
    animation-delay: 0.6s, 1.6s;
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--accent-color);
    border-color: var(--highlight-color);
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(212, 165, 116, 0.5);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 10px rgba(212, 165, 116, 0.3);
    }
    50% {
        box-shadow: 0 0 25px rgba(212, 165, 116, 0.6);
    }
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.product-card {
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: scale(1.05);
}

.product-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover img {
    transform: scale(1.1);
}

.product-card-content {
    padding: 1.5rem;
}

.product-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.contact-form {
    max-width: 600px;
    margin: 2rem auto;
    background: #ffffff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 0.3rem;
}

footer {
    background-color: var(--primary-color);
    color: #ffffff;
    padding: 3rem 2rem 1rem;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-column h3 {
    color: #ffffff;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-column p,
.footer-column a {
    color: #e0e0e0;
    display: block;
    margin-bottom: 0.5rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.2);
}

.footer-bottom p {
    margin-bottom: 0.5rem;
}

.privacy-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: #ffffff;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    border-radius: 10px;
    z-index: 10000;
    max-width: 600px;
    margin: 0 auto;
    display: none;
}

.privacy-popup.active {
    display: block;
}

.popup-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.popup-buttons button {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-accept {
    background-color: var(--accent-color);
    color: #ffffff;
}

.btn-accept:hover {
    background-color: var(--highlight-color);
}

.btn-decline {
    background-color: #e0e0e0;
    color: var(--primary-color);
}

.btn-decline:hover {
    background-color: #d0d0d0;
}

.success-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.success-page h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.success-page p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.legal-page {
    padding: 2rem 1rem 2rem 1rem;
}

.legal-page section {
    margin-bottom: 3rem;
}

.legal-page h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--accent-color);
}

.legal-page h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.page-home .hero {
    background: linear-gradient(135deg, var(--background-color) 0%, #ffffff 100%);
    padding: 4rem 2rem;
}

.page-home section {
    background: #ffffff;
    border-radius: 15px;
    padding: 3rem;
    margin: 2rem auto;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.page-home .product-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.page-home .product-card {
    border: 2px solid var(--accent-color);
    transition: all 0.3s ease;
}

.page-home .product-card:hover {
    border-color: var(--highlight-color);
    box-shadow: 0 8px 25px rgba(212, 165, 116, 0.3);
}

.page-home .section-image-center {
    text-align: center;
    margin-top: 2rem;
}

.page-home .section-image-center img {
    max-width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.page-about {
    background: var(--background-color);
}

.page-about section {
    max-width: 1000px;
    margin: 3rem auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.page-about section:nth-child(even) {
    grid-template-columns: 1fr 1fr;
}

.page-about section:nth-child(even) .section-image {
    order: 2;
}

.page-about section:nth-child(even) .section-content {
    order: 1;
}

.page-about .section-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.page-about .section-content h2 {
    border-left: 4px solid var(--accent-color);
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.page-about .intro-section {
    grid-template-columns: 1fr;
    text-align: center;
    max-width: 800px;
}

.page-collection .collection-header {
    text-align: center;
    padding: 3rem 2rem;
    background: linear-gradient(180deg, var(--primary-color) 0%, #2a2a2a 100%);
    color: #ffffff;
    margin: 0 auto;
    max-width: 1200px;
    border-radius: 0;
}

.page-collection .collection-header h1,
.page-collection .collection-header p {
    color: #ffffff;
}

.page-collection .collection-header img {
    max-width: 100%;
    border-radius: 15px;
    margin-top: 2rem;
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}

.page-collection section {
    background: #ffffff;
    padding: 3rem 2rem;
    margin: 2rem auto;
}

.page-collection .product-grid {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

.page-collection .product-card {
    background: var(--background-color);
    border: none;
    overflow: visible;
}

.page-collection .product-card img {
    border-radius: 20px 20px 0 0;
    height: 350px;
    object-fit: cover;
}

.page-collection .product-card-content {
    background: #ffffff;
    padding: 2rem;
    border-radius: 0 0 20px 20px;
    border-top: 3px solid var(--accent-color);
}

.page-gallery .gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

.page-gallery .gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    aspect-ratio: 4/3;
}

.page-gallery .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.page-gallery .gallery-item:hover img {
    transform: scale(1.15);
}

.page-gallery .gallery-item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
    padding: 2rem 1.5rem 1.5rem;
    color: #ffffff;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.page-gallery .gallery-item:hover .gallery-item-overlay {
    transform: translateY(0);
}

.page-gallery .gallery-item-overlay h3 {
    color: #ffffff;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.page-gallery .gallery-item-overlay p {
    color: rgba(255,255,255,0.9);
    font-size: 0.9rem;
    margin: 0;
}

.page-gallery section {
    margin: 3rem auto;
}

.page-gallery .section-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 1.5rem;
    border-bottom: 3px solid var(--accent-color);
}

.page-contact {
    background: var(--background-color);
}

.page-contact .contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin: 3rem auto;
    max-width: 1200px;
}

.page-contact .contact-info {
    background: #ffffff;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.page-contact .contact-info h2 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid var(--accent-color);
}

.page-contact .contact-info p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.page-contact .contact-info img {
    width: 100%;
    border-radius: 10px;
    margin-top: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.page-contact .contact-form {
    margin: 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.page-contact section:first-of-type {
    text-align: center;
    max-width: 800px;
    margin: 2rem auto 3rem;
}

@media (max-width: 768px) {
    .page-about section {
        grid-template-columns: 1fr;
    }
    
    .page-about section:nth-child(even) {
        grid-template-columns: 1fr;
    }
    
    .page-about section:nth-child(even) .section-image {
        order: 1;
    }
    
    .page-about section:nth-child(even) .section-content {
        order: 2;
    }
    
    .page-collection .product-grid {
        grid-template-columns: 1fr;
    }
    
    .page-gallery .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .page-contact .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .page-home section {
        padding: 2rem 1.5rem;
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    body {
        hyphens: auto;
    }
    
    .logo {
        font-size: 1rem;
    }
    
    .product-card img {
        height: 200px;
        max-height: 200px;
        object-fit: cover;
    }
    
    .page-collection .product-card img {
        height: 250px;
        max-height: 250px;
    }
    
    .page-gallery .gallery-item {
        aspect-ratio: 4/3;
        min-height: 200px;
    }
    
    .page-gallery .gallery-item img {
        height: 100%;
        max-height: 300px;
    }
    
    .page-about .section-image img,
    .page-home .section-image-center img {
        max-height: 250px;
        width: 100%;
        height: auto;
        object-fit: contain;
    }
    
    .page-collection .collection-header img {
        max-height: 200px;
        height: auto;
        width: 100%;
        object-fit: cover;
    }
    
    .page-contact .contact-info img {
        max-height: 200px;
        height: auto;
        width: 100%;
        object-fit: cover;
    }
    
    .hero-image img {
        max-height: 250px;
        height: auto;
        width: 100%;
    }
    
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: #ffffff;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 1rem 0;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
    
    .hero {
        grid-template-columns: 1fr;
        padding: 2rem 1rem;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .product-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .privacy-popup {
        left: 10px;
        right: 10px;
        padding: 1.5rem;
    }
    
    .popup-buttons {
        flex-direction: column;
    }
    
    .popup-buttons button {
        width: 100%;
    }
}

@media (max-width: 320px) {
    section {
        padding: 0 1rem;
    }
    
    nav {
        padding: 1rem;
    }
    
    .hero {
        padding: 1.5rem 1rem;
    }
    
    .product-card img {
        height: 180px;
        max-height: 180px;
    }
    
    .page-collection .product-card img {
        height: 200px;
        max-height: 200px;
    }
    
    .page-about .section-image img,
    .page-home .section-image-center img {
        max-height: 200px;
    }
    
    .page-collection .collection-header img {
        max-height: 150px;
    }
    
    .page-contact .contact-info img {
        max-height: 150px;
    }
    
    .hero-image img {
        max-height: 200px;
    }
    
    .page-gallery .gallery-item {
        min-height: 180px;
    }
    
    .page-gallery .gallery-item img {
        max-height: 250px;
    }
}
