:root {
    --bg-color: #f9f9f9;
    --text-color: #1a1a1a;
    --accent-color: #5a5a5a;
    --font-serif: 'Cormorant Garamond', serif;
    --font-sans: 'Montserrat', sans-serif;
    --card-bg: #ffffff;
    --modal-bg: rgba(0, 0, 0, 0.85);
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
.logo {
    font-family: var(--font-serif);
    font-weight: 400;
}

/* Header */
.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 5%;
    background-color: transparent;
}

@media (min-width: 768px) {
    .site-header {
        flex-direction: row;
    }
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.5rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    color: inherit;
}

.logo-img {
    height: 96px;
    width: auto;
    object-fit: contain;
}







nav a {
    text-decoration: none;
    color: var(--text-color);
    margin-left: 2rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: color 0.3s ease;
}

nav a:hover,
nav a.active {
    color: var(--accent-color);
    border-bottom: 1px solid var(--accent-color);
}

/* Hero */
.hero {
    text-align: center;
    padding: 4rem 1rem;
    margin-bottom: 2rem;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
}

.hero p {
    font-size: 1.1rem;
    color: var(--accent-color);
    font-weight: 300;
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 40px;
    padding: 0 5% 4rem;
    max-width: 1400px;
    margin: 0 auto;
}

.product-card {
    background-color: var(--card-bg);
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

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

.image-wrapper {
    width: 100%;
    height: 350px;
    overflow: hidden;
    background-color: #f0f0f0;
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.card-info {
    padding: 1.2rem;
    text-align: center;
}

.card-info h3 {
    font-size: 1.4rem;
    margin-bottom: 0.3rem;
    font-style: italic;
}

.card-info .price {
    font-weight: 500;
    color: var(--accent-color);
    font-size: 0.95rem;
}

/* Footer */
.site-footer {
    text-align: center;
    padding: 2rem;
    background-color: #f0f0f0;
    margin-top: 4rem;
    color: #666;
}

.section-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 6rem 1rem;
    text-align: center;
}

.section-container h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    letter-spacing: 0.05em;
}

.about-content p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: #444;
    text-align: left;
}

.contact-section {
    background-color: #f0f0f0;
}

.email-link {
    display: inline-block;
    margin-top: 1rem;
    font-size: 1.5rem;
    color: var(--text-color);
    text-decoration: none;
    border-bottom: 2px solid var(--accent-color);
    transition: opacity 0.3s;
}

.email-link:hover {
    opacity: 0.7;
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--modal-bg);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal.visible {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background-color: white;
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    display: flex;
    /* Flex layout for side-by-side */
    position: relative;
    border-radius: 2px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    cursor: pointer;
    z-index: 10;
    color: #333;
    line-height: 1;
}

.modal-body {
    display: flex;
    width: 100%;
}

.modal-image-container {
    flex: 1.5;
    background-color: #f8f8f8;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    /* Added for absolute slider controls */
}

.modal-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    max-height: 80vh;
    transition: opacity 0.3s ease;
    /* Added for smooth slide effect */
}

/* Slider Controls */
.slider-controls {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1rem;
}

.slider-btn {
    pointer-events: auto;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    border: none;
    color: #333;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.slider-btn:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.1);
}

.image-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    pointer-events: none;
}

.modal-info {
    flex: 1;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.modal-info h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.modal-info .price {
    font-size: 1.2rem;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.modal-info p {
    color: #555;
    margin-bottom: 2rem;
    font-weight: 300;
}

.contact-btn {
    padding: 1rem 2rem;
    background-color: var(--text-color);
    color: white;
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.8rem;
    cursor: pointer;
    transition: background-color 0.3s;
    align-self: flex-start;
    text-decoration: none;
    display: inline-block;
}

.contact-btn:hover {
    background-color: #333;
}

/* Responsive */
@media (max-width: 768px) {
    .modal-body {
        flex-direction: column;
        overflow-y: auto;
        max-height: 90vh;
    }

    .modal-image-container {
        flex: none;
        height: 300px;
    }

    .modal-info {
        padding: 1.5rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }
}

/* Fullscreen Modal */
.fullscreen-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.fullscreen-modal.visible {
    opacity: 1;
    pointer-events: auto;
}

.fullscreen-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.fullscreen-content img {
    max-width: 95%;
    max-height: 90vh;
    object-fit: contain;
    user-select: none;
}

.close-fullscreen {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 3rem;
    cursor: pointer;
    z-index: 2010;
    transition: opacity 0.3s;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    /* Added shadow for contrast */
}

.close-fullscreen:hover {
    opacity: 0.8;
}

.fullscreen-controls {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 20px;
}

.fullscreen-btn {
    background: rgba(0, 0, 0, 0.5);
    /* Dark semi-transparent background */
    backdrop-filter: blur(4px);
    /* Blur effect */
    border: 1px solid rgba(255, 255, 255, 0.5);
    /* More visible border */
    color: white;
    width: 56px;
    /* Slightly larger */
    height: 56px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    /* Drop shadow */
}

.fullscreen-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: white;
    transform: scale(1.1);
}

.fullscreen-counter {
    color: white;
    font-size: 1rem;
    letter-spacing: 0.1em;
    min-width: 60px;
    text-align: center;
}/* Email Copy Button Styles */
.email-copy-btn {
    background: none;
    border: none;
    font-family: inherit;
    font-size: 1.2rem;
    color: var(--text-color, #333);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    border: 1px solid #ddd; /* Subtle border */
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    background-color: #fff; /* Ensure visibility */
}

.email-copy-btn:hover {
    background-color: #f9f9f9;
    border-color: #bbb;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.email-copy-btn:active {
    transform: translateY(0);
}

.copy-icon {
    font-size: 1.2em;
}

/* Tooltip */
.email-copy-btn .tooltip {
    visibility: hidden;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 10px;
    position: absolute;
    z-index: 1;
    bottom: 125%; /* Position above */
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 0.9rem;
    white-space: nowrap;
    pointer-events: none;
}

.email-copy-btn .tooltip::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #333 transparent transparent transparent;
}

.email-copy-btn:hover .tooltip {
    visibility: visible;
    opacity: 1;
}

.email-copy-btn .tooltip.success {
    background-color: #4CAF50; /* Green for success */
}

.email-copy-btn .tooltip.success::after {
    border-color: #4CAF50 transparent transparent transparent;
}
/* SVG Copy Icon adjustments */
.email-copy-btn .copy-icon {
    width: 20px;
    height: 20px;
    opacity: 0.6; /* Subtle */
    transition: opacity 0.3s;
}

.email-copy-btn:hover .copy-icon {
    opacity: 1; /* More visible on hover */
}
