:root {
    --dark-background: #1a1a1a;
    --text-color: #fff;
    --accent-color: #d4af37;
    --darker-accent-color: #c0a032;
    --overlay-color: rgba(0, 0, 0, 0.7);
    --light-text: rgba(255, 255, 255, 0.7);
}

body {
    margin: 0;
    font-family: 'PT Sans', sans-serif;
    color: var(--text-color);
    background-color: var(--dark-background);
    position: relative;
}

body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('geometric_pattern.png'); /* Placeholder for pattern */
    opacity: 0.1;
    z-index: -1;
    animation: subtle-pattern-move 60s linear infinite;
}

@keyframes subtle-pattern-move {
    0% { background-position: 0 0; }
    100% { background-position: 100% 100%; }
}

header {
    text-align: left;
    padding: 10px 0px; /* Adjusted padding */
    position: relative;
    z-index: 1;
    height: auto; /* Adjusted height */
}

.logo {
    max-width: 350px;
    height: auto;
    text-align:right;
}

.hero {
    position: relative;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    text-align: center;
    color: var(--text-color);
}

.background-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    background-size: cover;
    filter: brightness(50%); /* Darken the video */
    z-index: -2; /* Ensure video is behind everything */
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 20px;
    animation: fadeInUp 1s ease-out;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-image-overlay {
    max-width: 400px; /* Set a maximum width for larger screens */
    height: auto; /* Maintain aspect ratio */
    border-radius: 8px; /* Optional: add rounded corners */
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 4em;
    margin-bottom: 10px;
    color: var(--accent-color);
    animation: scaleIn 0.8s ease-out;
}

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}

.hero-content p {
    font-size: 1.2em;
    margin-bottom: 30px;
    animation: fadeInUp 1.2s ease-out;
}

.subscribe-form {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    animation: fadeInUp 1.4s ease-out;
}

.subscribe-form input[type="email"] {
    padding: 12px 15px;
    border: none;
    border-radius: 5px;
    font-size: 1em;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-color);
    width: 250px;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.subscribe-form input[type="email"]:focus {
    outline: none;
    background-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 5px var(--accent-color);
}

.subscribe-form button {
    padding: 12px 25px;
    background-color: var(--accent-color);
    color: var(--dark-background);
    border: none;
    border-radius: 5px;
    font-size: 1em;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.1s ease;
}

.subscribe-form button:hover {
    background-color: var(--darker-accent-color);
}

.subscribe-form button:active {
    transform: scale(0.98);
}

.gallery {
    padding: 80px 20px;
    text-align: center;
}

.gallery h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5em;
    margin-bottom: 60px;
    color: var(--accent-color);
    animation: fadeInUp 1s ease-out;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.6);
}

.gallery-item img {
    display: block;
    width: 100%;
    height: 250px; /* Fixed height for consistency */
    object-fit: cover; /* Cover the area without distorting aspect ratio */
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Remove or hide overlay styles as product name is not displayed */
.gallery-item .overlay {
   display: none;
}

footer {
    text-align: center;
    padding: 30px 0;
    font-size: 0.9em;
    color: var(--light-text);
}

.toast {
    visibility: hidden;
    min-width: 250px;
    margin-left: -125px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 5px;
    padding: 16px;
    position: fixed;
    z-index: 100;
    left: 50%;
    bottom: 30px;
    font-size: 1em;
    transform: translateX(-50%);
}

.toast.show {
    visibility: visible;
    animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

@-webkit-keyframes fadein {
    from {bottom: 0; opacity: 0;}
    to {bottom: 30px; opacity: 1;}
}

@keyframes fadein {
    from {bottom: 0; opacity: 0;}
    to {bottom: 30px; opacity: 1;}
}

@-webkit-keyframes fadeout {
    from {bottom: 30px; opacity: 1;}
    to {bottom: 0; opacity: 0;}
}

@keyframes fadeout {
    from {bottom: 30px; opacity: 1;}
    to {bottom: 0; opacity: 0;}
}

/* Add this to your style.css file */

.contact-info {
    padding: 20px 0;
    margin-bottom: 20px;
    /* Add a subtle border or background if desired */
    /* border-top: 1px solid rgba(255, 255, 255, 0.1); */
    /* background-color: rgba(255, 255, 255, 0.05); */
    border-radius: 8px; /* Optional: if background color is used */
}

.contact-info p {
    margin: 10px 0;
    font-size: 1.1em;
    color: var(--light-text);
    display: flex; /* Align icon and text */
    align-items: center;
    justify-content: center; /* Center align content */
}

.contact-info i {
    color: var(--accent-color);
    margin-right: 10px;
    font-size: 1.3em; /* Slightly larger icon */
}

.contact-info a {
    color: var(--light-text);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: var(--accent-color);
    text-decoration: underline; /* Add underline on hover for clarity */
}

/* Style for contact info in footer */
footer .contact-info {
    padding: 15px 0;
    margin-bottom: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0;
}

footer .contact-info p {
    font-size: 1em;
}

footer .contact-info i {
     font-size: 1.1em;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 3em;
    }

    .hero-content p {
        font-size: 1em;
    }

    .subscribe-form {
        flex-direction: column;
    }

    .subscribe-form input[type="email"] {
        width: 80%;
        max-width: 300px;
    }

    .hero-image-overlay {
        max-width: 300px; /* Adjust max-width for tablets */
    }

    .gallery h2 {
        font-size: 2em;
    }
    
    .gallery-item img {
        height: 200px; /* Adjust height for smaller screens */
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2.5em;
    }

    .hero-content p {
        font-size: 0.9em;
    }

    .subscribe-form input[type="email"] {
        width: 90%;
    }

    .subscribe-form button {
        width: 90%;
    }

    .hero-image-overlay {
        max-width: 250px; /* Adjust max-width for mobile phones */
    }

    .gallery h2 {
        font-size: 1.8em;
    }

    .gallery-grid {
        gap: 15px;
    }
    
    .gallery-item img {
        height: 180px; /* Further adjust height for very small screens */
    }
}
