:root {
    --primary-blue: #1e2a3a;
    --secondary-brown: #6d4c41;
    --accent-blue: #4a6fa5;
    --light-brown: #d4a373;
    --white: #ffffff;
    --off-white: #f5ece1;
    --text-dark: #2c1e13;
    --text-light: #776e65;
    --glass: rgba(255, 255, 255, 0.4);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--off-white);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-blue);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-brown);
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--off-white);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: 'Cursive';
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 253, 250, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(109, 76, 65, 0.1);
    padding: 1rem 0;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo span {
    color: var(--secondary-brown);
}

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

.nav-links a:hover {
    color: var(--accent-blue);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--primary-blue);
    border-radius: 3px;
    transition: var(--transition);
    transform-origin: left;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg);
}

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

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-color: var(--off-white);
    padding: 100px 0 60px;
    color: var(--text-dark);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.hero-image-container {
    position: relative;
}

.vintage-frame {
    background: #fff;
    padding: 20px 20px 60px 20px;
    box-shadow: 0 10px 30px rgba(62, 39, 35, 0.15);
    transform: rotate(-2deg);
    transition: var(--transition);
}

.vintage-frame:hover {
    transform: rotate(0deg) scale(1.02);
}

.hero-vintage-img {
    width: 100%;
    filter: sepia(0.3) contrast(1.1);
    border: 1px solid var(--off-white);
}

.hero-text h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-text p {
    font-size: 1.15rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    max-width: 550px;
}

.btn-primary {
    background: var(--secondary-brown);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(109, 76, 65, 0.4);
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(109, 76, 65, 0.5);
    background: var(--light-brown);
}

.modal-buy-btn {
    margin-top: 2rem;
    width: 100%;
}

/* Owners Section */
.owners-section {
    padding: 100px 0;
    background: #fdfaf7;
}

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

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

.owners-img {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 20px 20px 0 var(--primary-blue);
}

.owners-text h2 {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
}

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

/* Products Section */
.products-section {
    padding: 100px 0;
    background: var(--off-white);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-blue);
}

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

.product-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(109, 76, 65, 0.1);
    position: relative;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(109, 76, 65, 0.15);
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--secondary-brown));
    opacity: 0;
    transition: var(--transition);
}

.product-card:hover::before {
    opacity: 1;
}

.product-img {
    height: 300px;
    width: 100%;
    background-size: cover;
    background-position: center;
    transition: var(--transition);
}

.product-card:hover .product-img {
    transform: scale(1.05);
}

.product-info {
    padding: 2rem;
}

.product-info h3 {
    margin-bottom: 0.5rem;
}

.product-price {
    font-weight: 700;
    color: var(--secondary-brown);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.btn-buy {
    width: 100%;
    padding: 1rem;
    margin-top: 1rem;
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    border-radius: 10px;
    font-weight: 700;
    background: transparent;
    cursor: pointer;
    transition: var(--transition);
}

.btn-buy:hover {
    background: var(--primary-blue);
    color: var(--white);
}

/* Footer */
footer {
    background: var(--primary-blue);
    color: var(--white);
    padding: 80px 0 20px;
}

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

.footer-logo {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* Reviews Section */
.reviews-section {
    padding: 100px 0;
    background: #fdfaf7;
}

.reviews-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: start;
}

.review-form-container {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(109, 76, 65, 0.1);
    border: 1px solid rgba(109, 76, 65, 0.1);
}

.review-form-container h3 {
    margin-bottom: 1.5rem;
    color: var(--primary-blue);
}

#review-form {
    display: grid;
    gap: 1.2rem;
}

#review-form input,
#review-form textarea {
    padding: 1rem;
    border-radius: 10px;
    border: 1px solid rgba(109, 76, 65, 0.2);
    background: #faf9f7;
    font-family: inherit;
    transition: var(--transition);
}

#review-form input:focus,
#review-form textarea:focus {
    outline: none;
    border-color: var(--secondary-brown);
    box-shadow: 0 0 0 3px rgba(109, 76, 65, 0.1);
}

.rating-input {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.stars-selection {
    display: flex;
    flex-direction: row-reverse;
    font-size: 1.5rem;
}

.stars-selection input {
    display: none;
}

.stars-selection label {
    cursor: pointer;
    color: #ddd;
    transition: var(--transition);
}

.stars-selection input:checked~label,
.stars-selection label:hover,
.stars-selection label:hover~label {
    color: #ffc107;
}

.reviews-display {
    max-height: 600px;
    overflow-y: auto;
    padding-right: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.review-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(109, 76, 65, 0.05);
    border-left: 4px solid var(--secondary-brown);
    animation: fadeIn 0.5s ease;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.stars {
    color: #ffc107;
    font-weight: 700;
}

.review-date {
    display: block;
    font-size: 0.8rem;
    color: var(--text-light);
    margin-top: 1rem;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

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

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.appear {
    opacity: 1;
    transform: translateY(0);
}

/* Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    cursor: pointer;
}

.modal-container {
    position: relative;
    background: var(--white);
    width: 100%;
    max-width: 1000px;
    max-height: 90vh;
    border-radius: 30px;
    overflow-y: auto;
    z-index: 10;
    animation: modalIn 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 25px 50px -12px rgba(62, 39, 35, 0.4);
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.95);
    }

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

.modal-close {
    position: absolute;
    top: 20px;
    right: 25px;
    background: var(--off-white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 20;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: rotate(90deg);
}

.modal-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    padding: 3rem;
}

.modal-gallery {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.main-img {
    width: 100%;
    height: 400px;
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    box-shadow: 0 10px 20px rgba(109, 76, 65, 0.2);
}

.thumbnail-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
}

.thumb {
    aspect-ratio: 1;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

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

.thumb.active {
    border-color: var(--accent-blue);
}

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

.modal-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-brown);
    margin-bottom: 2rem;
}

.modal-description {
    color: var(--text-light);
    line-height: 1.8;
}

.modal-description p {
    margin-bottom: 1rem;
}

/* Floating Eagle Button */
.eagle-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--primary-blue);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(30, 42, 58, 0.4);
    z-index: 1000;
    transition: var(--transition);
    cursor: pointer;
    padding: 12px;
}

.eagle-icon {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.eagle-float:hover {
    transform: scale(1.1) translateY(-5px);
    background: var(--secondary-brown);
    box-shadow: 0 15px 30px rgba(109, 76, 65, 0.5);
}

.eagle-tooltip {
    position: absolute;
    right: 75px;
    background: var(--primary-blue);
    color: var(--white);
    padding: 8px 15px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: var(--transition);
    pointer-events: none;
}

.eagle-float:hover .eagle-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* Responsive Media Queries */
@media (max-width: 850px) {
    .modal-content {
        grid-template-columns: 1fr;
        padding: 2rem;
    }

    .main-img {
        height: 300px;
    }
}

@media (max-width: 768px) {

    .section-grid,
    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        padding-top: 120px;
        text-align: center;
    }

    .hero-text p {
        margin-left: auto;
        margin-right: auto;
    }

    .vintage-frame {
        max-width: 350px;
        margin: 0 auto;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        right: -100%;
        top: 0;
        height: 100vh;
        width: 70%;
        max-width: 300px;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        box-shadow: -10px 0 30px rgba(109, 76, 65, 0.15);
        transition: var(--transition);
        z-index: 1000;
    }

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

    .nav-links li {
        margin: 1.5rem 0;
    }

    .nav-links a {
        font-size: 1.2rem;
        font-weight: 600;
    }

    .eagle-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }

    .eagle-tooltip {
        display: none;
    }
}

/* Toast Notification */
.toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--primary-blue);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    z-index: 3000;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.5s;
    opacity: 0;
    pointer-events: none;
    font-weight: 600;
    text-align: center;
}

.toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

@media (max-width: 768px) {
    .toast {
        width: 90%;
        bottom: 100px;
    }
}