header{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 30px;
    border: 1px solid #0B1020;
    margin-bottom: 0;
    
    
}


/* Homepage video banner */

.hero-banner {
    height: 420px;
    position: relative;
    overflow: hidden;
    background: #101d35;
}

.hero-banner video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-banner::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(10, 20, 38, 0.75),
        rgba(10, 20, 38, 0.15)
    );
}

.hero-text {
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 8%;
    transform: translateY(-50%);
    color: white;
    max-width: 550px;
}

.hero-text p {
    color: #e0bf68;
    letter-spacing: 2px;
    font-size: 12px;
}

.hero-text h1 {
    font-size: clamp(28px, 4vw, 48px);
    margin: 15px 0 25px;
}

/* Fade-in animation for banner text */

.hero-text p {
    animation: textFade 1s ease both;
}

.hero-text h1 {
    animation: textFade 1s ease 0.4s both;
}



/* Animation keyframes */

@keyframes textFade {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
marquee{
   
    display: block;
    padding: 12px 0;
    background: linear-gradient(90deg, #101d35, #1c2d4d, #101d35);
    color: #e0bf68;
    border-top: 1px solid #d4af37;
    border-bottom: 1px solid #d4af37;
    font-size: 17px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-shadow: 0 0 8px rgba(212, 175, 55, 0.2);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}





@media (max-width: 600px) {
    .hero-banner {
        height: 300px;
    }

    .hero-text {
        left: 6%;
        right: 6%;
    }
}

.brand{
    display: flex;
    align-items: center;
    gap: 10px;
}
.brand img{
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}
.brand h1{
    font-size: 24px;
    margin: 0;
}
nav{
    align-items: center;
    justify-content: space-evenly;
    display: flex;
    /*border: 1px solid black;*/
    gap: 20px;
}

body{
    margin: 0;
    background-color: #0B1020;
    color: #F5E6C8;
    font-family: Arial, Helvetica, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
nav a{
    color: #d4af37;
    text-decoration: none;
    padding: 15px;
    transition: 0.3s;
}
nav a:hover{
    color:white;
    
    transform: translateY(-4px);
}
main{
    padding: 0px ;
}
main h2{
    color: #F5E6C8;
    font-size: 32px;
}
main p{
    color: #F5E6C8;
}
main a{
    display: inline-block;
    background-color: #d4af37;
    color: #0B1020;
    padding: 12px 14px;
    text-decoration: none;
    border-radius: 6px;
    transition: 0.3s;
}
main a:hover{
    background-color: #F5E6C8;
    transform: translateY(-3px);
}
.home-hero{
    animation:homeFadeIn 1.2s ease-out both;

}
@keyframes homeFadeIn{
    from{
        opacity: 0;
        transform: translateY(25px);
    }
    to{
        opacity: 1;
        transform: translateY(0);
    }
}
@media (prefers-reduced-motion: reduce){
    .home-hero{
        animation: none;
    }
}
.categories{
    padding: 25px 30px 60px;
    text-align: center;
    color: #F5E6C8;
}
.categories h2{
    color: #d4af37;
    font-size: 32px;
    margin-bottom: 10px;
}
.section-subtitle{
    margin: 0 auto 32px;
    line-height: 1.6;
    margin-bottom: 20px;
}
.category-grid{
    display: grid;
    grid-template-columns:   repeat(6,minmax(0,1fr));
  
    gap: 24px;
    width: 100%;
    max-width: 1050px;
    margin: 0 auto;
}
.category-card:nth-child(1),.category-card:nth-child(2),.category-card:nth-child(3){
    grid-column: span 2;
}
.category-card:nth-child(4){
    grid-column: 2 / span 2;
}
.category-card:nth-child(5){
    grid-column: 4 / span 2;
}
.category-card{
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 4/5;
    min-width: 0;
    overflow: hidden;
    background: #111827;
    border: 1px solid #b89646;
    border-radius: 12px;
    isolation: isolate;
    transition:
     tranform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.category-card:hover{
    transform: translateY(-8px);
    border-color: #d4af37;
    box-shadow: 0 12px 28px  rgba(212,175,55,0.25);
   
}

.category-card video{
    position: absolute;
    inset: 0;
    z-index: -2;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s ease;
}
.category-card:hover video{
    transform: scale(1.07);
}
.category-card::after{
    content: '''';
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: linear-gradient(to top, rgba(0,0,0,0.85), rgba(0,0,0,0.02)75%);

}
.category-overlay{
    position: absolute;
    inset: 0;
    z-index: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    padding: 20px;
    pointer-events: none;
}
.category-overlay h3{
    margin: 0;
    color: #F5E6C8;
    font-size: 21px;
    text-align: center;
    transition: transform 0.35s ease,color 0.35s ease;
}
.category-card:hover .category-overlay h3{
    color: #d4af37;
    transform: translateY(-7px);
}
.explore-container{
    margin-top: 35px;
    text-align: center;
}
.site-footer{
    background: #070B16;
    color: #F5E6C8;
    padding: 35px 25px 15px;
    border-top: 1px solid #d4af37;
}
.footer-content{
    max-width: 1100px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 30px;
}
.site-footer h3{
    color: #d4af37;
    margin-bottom: 15px;
}
.site-footer p,.site-footer a{

    color: #F5E6C8;
    font-size: 14px;
    line-height: 1.8;
}
.site-footer a{
    display: block;
    text-decoration: none;
    margin-bottom: 5px;
}
.site-footer a:hover{
    color: #d4af37;
}
.footer-bottom{
    text-align: center;
    border-top: 1px solid #34394A;
    margin-top: 25px;
    padding-top: 15px;
    font-size: 13px;
}

/* 
   CONTACT
 */

.contact-page {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 25px 60px;
    box-sizing: border-box;
}

/* Contact Page Intro */

.contact-heading {
    padding: 50px 10px 25px;
    margin-bottom: 15px;
    animation: fadeIn 0.8s ease;
}

.contact-heading p:first-child {
    color: #D4AF37;
    font-size: 15px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.contact-heading h1 {
    color: #F5E6C8;
    font-size: 42px;
    margin: 15px 0;
    transition: color 0.3s ease;
}

.contact-heading h1:hover {
    color: #D4AF37;
}

.contact-heading p:last-child {
    color: #F5E6C8;
    font-size: 17px;
    line-height: 1.8;
}

/* Main Contact Layout */

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: start;
}

.contact-info,
.enquiry-box {
    min-width: 0;
    box-sizing: border-box;
}

.contact-info h2,
.enquiry-box h2 {
    color: #F5E6C8;
    font-size: 27px;
    margin: 10px 0 15px;
}

.contact-description,
.enquiry-box > p {
    color: #F5E6C8;
    line-height: 1.8;
    margin-bottom: 22px;
}

/* Three Equal Contact Cards */

.contact-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.contact-card {
    background: #080D1A;
    border: 1px solid #D4AF37;
    border-radius: 12px;
    padding: 22px;
    min-height: 135px;
    box-sizing: border-box;
    transition: transform 0.3s ease,
                box-shadow 0.3s ease;
    animation: fadeIn 0.8s ease;
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 22px rgba(212, 175, 55, 0.22);
}

.contact-icon {
    color: #D4AF37;
    font-size: 23px;
    margin-bottom: 12px;
}

.contact-card h3 {
    color: #D4AF37;
    font-size: 19px;
    margin: 0 0 10px;
}

.contact-card p {
    color: #F5E6C8;
    line-height: 1.7;
    margin: 0;
}

/* Enquiry Form Box */

.enquiry-box {
    background: #080D1A;
    border: 1px solid #D4AF37;
    border-radius: 14px;
    padding: 28px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    animation: fadeIn 1s ease;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: #D4AF37;
    font-size: 15px;
    margin-bottom: 9px;
    font-weight: bold;
}

.form-group input,
.form-group textarea {
    display: block;
    width: 100%;
    padding: 13px 14px;
    box-sizing: border-box;
    background: #10182B;
    color: #F5E6C8;
    border: 1px solid rgba(212, 175, 55, 0.6);
    border-radius: 8px;
    font-family: inherit;
    font-size: 15px;
    outline: none;
    transition: border-color 0.3s ease,
                box-shadow 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #B7B5AD;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #D4AF37;
    box-shadow: 0 0 8px rgba(212, 175, 55, 0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 130px;
}

/* Submit Button */

.enquiry-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px 20px;
    background: #D4AF37;
    color: #080D1A;
    border: 1px solid #D4AF37;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease,
                color 0.3s ease,
                transform 0.3s ease;
}

.enquiry-button:hover {
    background: transparent;
    color: #D4AF37;
    transform: translateY(-2px);
}

/* Fade-in Animation */

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

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

/* Responsive Design */

@media (max-width: 800px) {
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .contact-heading {
        padding-top: 35px;
    }

    .contact-heading h1 {
        font-size: 34px;
    }

    .enquiry-box {
        padding: 22px;
    }
}

@media (max-width: 480px) {
    .contact-page {
        padding-left: 16px;
        padding-right: 16px;
    }

    .contact-heading h1 {
        font-size: 30px;
    }

    .contact-info h2,
    .enquiry-box h2 {
        font-size: 23px;
    }

    .contact-card,
    .enquiry-box {
        padding: 18px;
    }
}






  


/* About Us Section */

.about-section {
    width: 90%;
    max-width: 1100px;
    margin: 25px auto;
    margin-top: 20px;
    padding: 35px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
    background-color: #fffaf0;
    border: 2px solid #d4af37;
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
    animation: aboutFadeIn 1s ease both;
}
.about-section:hover {
    transform: translateY(-4px);
    border-color: #f0c94d;
    box-shadow: 0 15px 30px rgba(212, 175, 55, 0.25);
}

/* Fade-in Animation */

@keyframes aboutFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

/* Mobile Layout */

@media (max-width: 700px) {
    .about-section {
        flex-direction: column;
        margin: 25px 15px;
        padding: 22px;
    }
}

.about-text {
    flex: 1;
}

.subtitle {
    color: #a78627;
    letter-spacing: 3px;
    font-size: 13px;
    margin-bottom: 12px;
}

.about-text h1 {
    font-size: 32px;
    margin-bottom: 15px;
    color: #102747;
}

.gold-line {
    width: 75px;
    height: 3px;
    background-color: #d4af37;
    margin-bottom: 22px;
}

.about-text p:not(.subtitle) {
    font-size: 16px;
    line-height: 1.8;
    color: #454545;
    margin-bottom: 16px;
}

/* Owner Photo and Details */

.owner-card {
    width: 260px;
    flex-shrink: 0;
    padding: 18px;
    text-align: center;
    background-color: #f5e6c8;
    border: 1px solid #d4af37;
    border-radius: 10px;
    transition: transform 0.3s ease,
                box-shadow 0.3s ease;
}

.owner-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.owner-image {
    width: 100%;
    height: 280px;
    object-fit: cover;
    object-position: center;
    border-radius: 8px;
    border: 2px solid #d4af37;
    margin-bottom: 12px;
}

.owner-card h2 {
    font-size: 22px;
    color: #102747;
    margin-bottom: 6px;
}

.owner-role {
    color: #555;
    font-size: 14px;
    margin-bottom: 8px;
}

.shop-name {
    color: #a78627;
    font-weight: bold;
    font-size: 16px;
}

/* Mobile Layout */

@media (max-width: 700px) {
    .about-section {
        flex-direction: column;
        margin: 25px 15px;
        padding: 22px;
        gap: 25px;
    }

    .about-text h1 {
        font-size: 27px;
    }

    .owner-card {
        width: 100%;
        max-width: 280px;
    }
}





  


/* ===== AARVI COLLECTION PAGE ===== */

.collection {
    background-color: #101d35;
    color: #f5f0e5;
    text-align: center;
    padding: 35px 5%;
    animation: fadeIn 1s ease;
}

/* Main Heading */

.collection h1 {
    color: #e0bf68;
    font-size: 34px;
    margin-bottom: 12px;
    letter-spacing: 1px;
}

/* Category Sections */

.collection section {
    margin: 50px 0;
    animation: fadeIn 1s ease both;
}

.collection h2 {
    color: #e0bf68;
    font-size: 27px;
    margin-bottom: 30px;
}

/* Gold Line Under Headings */

.collection h2::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background-color: #d4af37;
    border-radius: 5px;
    margin: 12px auto 0;
}

/* Symmetrical Photo Grid */

.gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
    padding: 25px;
    align-items: stretch;
}

/* Photo Cards */

.gallery article {
    min-width: 0;
    padding: 7px;
    overflow: hidden;
    border: 1px solid #b99a51;
    border-radius: 12px;
    background-color: #172844;

    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.25);

    transition: transform 0.35s ease,
                box-shadow 0.35s ease,
                border-color 0.35s ease;
}

/* Equal Image Sizes */

.gallery img {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    object-position: center;
    border-radius: 7px;

    transition: transform 0.4s ease;
}

/* Card Pop-up Effect */

.gallery article:hover {
    transform: translateY(-8px);
    border-color: #f2d785;

    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.4),
                0 0 10px rgba(212, 175, 55, 0.2);
}

.gallery article:hover img {
    transform: scale(1.04);
}

/* Fade-in Animation */

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

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

/* Tablet and Mobile */

@media (max-width: 600px) {
    .collection {
        padding: 25px 4%;
    }

    .collection h1 {
        font-size: 27px;
    }

    .collection h2 {
        font-size: 22px;
    }

    .collection section {
        margin: 35px 0;
    }

    .gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .gallery article {
        padding: 5px;
    }
}

/* Reduce Motion for Accessibility */

@media (prefers-reduced-motion: reduce) {
    .collection,
    .collection section {
        animation: none;
    }

    .gallery article,
    .gallery img {
        transition: none;
    }
}
/* Individual Outfit Card */

.collection-card {
    background-color: #102747;
    border: 2px solid #d4af37;
    border-radius: 12px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.18);

    opacity: 0;
    animation: cardFadeIn 0.8s ease forwards;

    transition: transform 0.4s ease,
                box-shadow 0.4s ease;
}

/* Stagger the entrance animation */

.collection-card:nth-child(2) {
    animation-delay: 0.2s;
}

.collection-card:nth-child(3) {
    animation-delay: 0.4s;
}

/* Outfit Images */

.collection-card img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

/* Hover Pop-up Effect */

.collection-card:hover {
    transform: translateY(-6px) ;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25);
}

.collection-card:hover img {
    transform: scale(1.03);
}

/* Outfit Details */

.card-info {
    padding: 20px 15px;
    color: #ffffff;
    transition: transform 0.5s ease;
    will-change: transform;
}

.card-info h3 {
    color: #d4af37;
    font-size: 21px;
    margin-bottom: 12px;
}
.collection-card:hover .card-info{
    transform: translateY(-3px);
}



/* Fade-in Animation */

@keyframes cardFadeIn {
    from {
        opacity: 0;
        transform: translateY(25px);
    }

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

/* Responsive Layout */

@media (max-width: 800px) {
    .gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 550px) {
    .gallery {
        grid-template-columns: 1fr;
        padding: 15px;
    }

    .collection-card img {
        height: 350px;
    }
}

/* =====================================
   COMMON RESPONSIVE CSS
   All pages: Home, About, Collection,
   and Contact
===================================== */

/* Make sizing predictable on every page */
* {
    box-sizing: border-box;
}

html {
    width: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    width: 100%;
    min-width: 320px;
}

/* Prevent images and videos overflowing */
img,
video {
    max-width: 100%;
}

img {
    height: auto;
}

video {
    display: block;
}

/* Keep content within the screen */
main {
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* =====================================
   TABLET AND SMALL LAPTOP
===================================== */

@media (max-width: 900px) {

    /* Header */
    header {
        flex-wrap: wrap;
        gap: 15px;
        padding: 15px 20px;
    }

    .brand img {
        max-width: 65px;
    }

    .brand h1 {
        font-size: 25px;
    }

    /* Navigation */
    nav {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
    }

    /* Large page headings */
    h1 {
        overflow-wrap: anywhere;
    }
}

/* =====================================
   MOBILE PHONES
===================================== */

@media (max-width: 600px) {

    /* Header and logo */
    header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 15px 12px;
    }

    .brand {
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px;
    }

    .brand img {
        max-width: 50px;
    }

    .brand h1 {
        font-size: 22px;
    }

    /* Navigation links */
    nav {
        width: 100%;
        gap: 8px;
    }

    nav a {
        font-size: 13px;
        padding: 8px;
    }

    /* Main content */
    main {
        padding-left: 14px;
        padding-right: 14px;
    }

    /* Headings */
    h1 {
        font-size: 30px;
    }

    h2 {
        font-size: 23px;
    }

    p {
        overflow-wrap: break-word;
    }

    /* Product and category layouts */
    .contact-layout,
    .contact-cards {
        grid-template-columns: 1fr;
    }

    /* Collection and homepage cards */
    .collection-grid,
    .category-grid,
    .product-grid {
        grid-template-columns: 1fr;
    }

    /* Images inside cards */
    .contact-card img,
    .collection-grid img,
    .category-grid img,
    .product-grid img {
        width: 100%;
        height: auto;
        object-fit: cover;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 25px;
    }

    .site-footer {
        padding: 25px 15px;
    }

    /* Contact form */
    .enquiry-box {
        width: 100%;
        padding: 18px;
    }

    /* Banner video */
    .banner-video,
    .hero-video {
        width: 100%;
        max-width: 100%;
    }
}

/* =====================================
   VERY SMALL PHONES
===================================== */

@media (max-width: 380px) {

    .brand h1 {
        font-size: 19px;
    }

    nav a {
        font-size: 12px;
        padding: 6px;
    }

    h1 {
        font-size: 26px;
    }

    .contact-heading {
        padding-left: 0;
        padding-right: 0;
    }
}

/* View Details Button */

.view-details {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 18px;

    background-color: #d4af37;
    color: #101d35;

    text-decoration: none;
    font-size: 14px;
    font-weight: bold;

    border: 1px solid #d4af37;
    border-radius: 6px;

    transition: background-color 0.3s ease,
                color 0.3s ease,
                transform 0.3s ease;
}

.view-details:hover {
    background-color: transparent;
    color: #f2d785;
    transform: translateY(-2px);
}

/* Keep product cards responsive */

@media (max-width: 600px) {
    .gallery {
        padding: 10px;
    }

    .collection-card img {
        height: 220px;
    }

    .card-info {
        padding: 12px 8px;
    }

    .card-info h3 {
        font-size: 16px;
    }

    .view-details {
        padding: 9px 12px;
        font-size: 13px;
    }
}

/* ==========================================
   AARVI COLLECTION
   PRODUCT DETAILS PAGE
   Royal Navy • Antique Gold • Ivory
========================================== */

/* 1. PAGE BASE */

.product-page {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 35px 25px;
    box-sizing: border-box;

    background-color: #101d35;
    color: #f5f0e5;
}

.product-page *,
.product-page *::before,
.product-page *::after {
    box-sizing: border-box;
}

/* 2. MAIN LAYOUT */

.product-page .product-details {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    align-items: stretch;
    gap: 30px;
    width: 100%;
}

/* 3. IMAGE GALLERY */

.product-page .product-gallery {
    display: flex;
    flex-direction: column;
    gap: 14px;

    width: 100%;
    min-width: 0;
}

/* Main image frame */

.product-page .main-product-image {
    display: grid;
    place-items: center;

    position: relative;
    width: 100%;
    aspect-ratio: 4 / 5;
    min-width: 0;
    padding: 8px;
    overflow: hidden;

    background-color: #172844;
    border: 1px solid #d4af37;
    border-radius: 12px;

    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22);

    animation: galleryFade 0.7s ease both;

    transition:
        border-color 0.3s ease,
        box-shadow 0.3s ease,
        transform 0.3s ease;
}

/* Main image sizing */

.product-page .main-product-image img {
    display: block;
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;

    object-fit: contain;
    object-position: center;

    border-radius: 6px;

    transition: transform 0.35s ease;
}

.product-page .main-product-image:hover {
    transform: translateY(-3px);
    border-color: #f2d785;
    box-shadow: 0 12px 25px rgba(212, 175, 55, 0.16);
}

.product-page .main-product-image:hover img {
    transform: scale(1.02);
}

/* 4. BACK AND SIDE IMAGE ROW */

.product-page .thumbnail-images {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;

    width: 100%;
    min-width: 0;
    margin: 0;
}

.product-page .thumbnail-card {
    min-width: 0;
    padding: 7px;
    overflow: hidden;

    text-align: center;

    background-color: #172844;
    border: 1px solid #9f874d;
    border-radius: 10px;

    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);

    animation: galleryFade 0.8s ease both;

    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.product-page .thumbnail-card:nth-child(2) {
    animation-delay: 0.12s;
}

.product-page .thumbnail-card img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;

    object-fit: contain;
    object-position: center;

    border-radius: 5px;
    background-color: #172844;

    transition: transform 0.35s ease;
}

.product-page .thumbnail-card p {
    margin: 9px 0 3px;

    color: #e0bf68;
    font-size: 13px;
    line-height: 1.5;
}

.product-page .thumbnail-card:hover {
    transform: translateY(-4px);
    border-color: #e0bf68;
    box-shadow: 0 9px 18px rgba(212, 175, 55, 0.14);
}

.product-page .thumbnail-card:hover img {
    transform: scale(1.025);
}

/* 5. PRODUCT DETAILS CARD */

/*
   The grid stretches this card to match the
   height of the complete gallery on desktop.
*/

.product-page .product-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-self: stretch;

    min-width: 0;
    padding: 27px;

    background-color: #172844;
    border: 1px solid #9f874d;
    border-radius: 12px;

    box-shadow: 0 7px 22px rgba(0, 0, 0, 0.2);

    animation: detailsFade 0.8s ease both;

    transition: box-shadow 0.3s ease;
}

.product-page .product-info:hover {
    box-shadow: 0 10px 26px rgba(212, 175, 55, 0.1);
}

/* 6. BRAND LABEL */

.product-page .product-label {
    margin: 0;

    color: #e0bf68;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    line-height: 1.8;
    text-transform: uppercase;
}

/* 7. PRODUCT TITLE */

.product-page .product-info h1 {
    margin: 0;

    color: #e0bf68;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(26px, 2.5vw, 34px);
    font-weight: 600;
    line-height: 1.35;

    overflow-wrap: anywhere;
}

/* 8. PRODUCT DESCRIPTION */

.product-page .product-description {
    margin: 0;

    color: #f0eee8;
    font-size: 15px;
    line-height: 1.9;

    overflow-wrap: anywhere;
}

/* 9. PRODUCT SPECIFICATIONS */

.product-page .product-specifications {
    margin: 0;
    padding: 10px 0;

    border-top: 1px solid rgba(212, 175, 55, 0.4);
    border-bottom: 1px solid rgba(212, 175, 55, 0.4);
}

.product-page .product-specifications p {
    margin: 0;
    padding: 8px 0;

    color: #f5f0e5;
    font-size: 14px;
    line-height: 1.8;

    overflow-wrap: anywhere;
}

.product-page .product-specifications strong {
    color: #e0bf68;
    font-weight: 600;
}

/* 10. ENQUIRY BUTTON */

.product-page .product-enquiry {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    align-self: flex-start;
    max-width: 100%;
    margin: 0;
    padding: 13px 18px;

    color: #101d35;
    background-color: #d4af37;

    border: 1px solid #d4af37;
    border-radius: 6px;

    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;

    overflow-wrap: anywhere;

    transition:
        background-color 0.3s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.product-page .product-enquiry:hover {
    background-color: #f2d785;
    transform: translateY(-3px);
    box-shadow: 0 7px 17px rgba(212, 175, 55, 0.2);
}

.product-page .product-enquiry:focus-visible {
    outline: 2px solid #f5f0e5;
    outline-offset: 4px;
}

/* 11. BOTTOM NOTE */

.product-page .product-note {
    margin: 0;
    padding-top: 14px;

    color: #c9c8c3;
    border-top: 1px solid rgba(212, 175, 55, 0.28);

    font-size: 13px;
    line-height: 1.8;

    overflow-wrap: anywhere;
}

/* 12. ANIMATIONS */

@keyframes galleryFade {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

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

@keyframes detailsFade {
    from {
        opacity: 0;
        transform: translateX(10px);
    }

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

/* 13. TABLET RESPONSIVENESS */

@media (max-width: 850px) {
    .product-page {
        padding: 28px 18px;
    }

    .product-page .product-details {
        gap: 20px;
    }

    .product-page .product-info {
        padding: 21px;
    }

    .product-page .thumbnail-images {
        gap: 9px;
    }
}

/* 14. MOBILE RESPONSIVENESS */

@media (max-width: 700px) {
    .product-page {
        padding: 22px 15px;
    }

    .product-page .product-details {
        grid-template-columns: minmax(0, 1fr);
        gap: 23px;
    }

    .product-page .product-info {
        align-self: auto;
        justify-content: flex-start;
        gap: 18px;
        padding: 22px;

        height: auto;
    }

    .product-page .product-info h1 {
        font-size: 28px;
    }

    .product-page .product-note {
        margin-top: 0;
    }
}

/* 15. SMALL MOBILE SCREENS */

@media (max-width: 400px) {
    .product-page {
        padding: 18px 11px;
    }

    .product-page .main-product-image {
        padding: 5px;
    }

    .product-page .thumbnail-images {
        gap: 8px;
    }

    .product-page .thumbnail-card {
        padding: 5px;
    }

    .product-page .product-info {
        padding: 17px;
        gap: 16px;
    }

    .product-page .product-info h1 {
        font-size: 25px;
    }

    .product-page .product-description {
        font-size: 14px;
    }

    .product-page .product-specifications p {
        font-size: 13px;
    }

    .product-page .product-enquiry {
        align-self: stretch;
        width: 100%;
    }
}

/* 16. ACCESSIBILITY */

@media (prefers-reduced-motion: reduce) {
    .product-page .main-product-image,
    .product-page .thumbnail-card,
    .product-page .product-info {
        animation: none;
    }

    .product-page .main-product-image,
    .product-page .main-product-image img,
    .product-page .thumbnail-card,
    .product-page .thumbnail-card img,
    .product-page .product-info,
    .product-page .product-enquiry {
        transition: none;
    }
}
/* About page mobile width fix */

@media (max-width: 700px) {
    .about-section {
        width: auto;
        max-width: 100%;
        margin: 25px 15px;
        padding: 22px;
    }
}


@media (max-width: 600px) {
    .category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .category-card:nth-child(n) {
        grid-column: auto;
    }

    .category-overlay {
        padding: 10px;
    }

    .category-overlay h3 {
        font-size: 16px;
    }
}

@media (max-width: 380px) {
    .category-grid {
        grid-template-columns: 1fr;
    }
}
.fade-in{
    animation:fadeIn 1.2s ease-in-out both;

}
@keyframes fadeIn{
    from{
        opacity: 0;
        transform: translateY(20px);
    }
    to{
        opacity: 1;
        transform: translateY(0);
    }
}
p.contact-description.fade-in{
    animation: fadeIn 1.2s ease-in-out 0.4s both;
}
@keyframes fadeIN{
    from{
        opacity: 0;
        transform: translateY(20px);
    }
    to{
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== CONTACT PAGE CSS-ONLY FIX ===== */

/* Keep both columns within the page */
.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 30px;
    align-items: start;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.contact-info,
.enquiry-box {
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
}

/* Stop the map from overflowing its card */
.contact-card {
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

/* Target the existing Google Maps iframe */
.contact-card iframe {
    display: block;
    width: 100% !important;
    max-width: 100%;
    height: 280px;
    border: 0 !important;
    border-radius: 8px;
    box-sizing: border-box;
}

/* Prevent form fields from overflowing */
.enquiry-box {
    width: 100%;
    overflow: hidden;
}

.enquiry-box input,
.enquiry-box textarea {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.enquiry-button {
    width: 100%;
    box-sizing: border-box;
}

/* Tablet and mobile layout */
@media (max-width: 800px) {
    .contact-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 25px;
    }

    .contact-info,
    .enquiry-box {
        width: 100%;
    }

    .contact-card iframe {
        height: 260px;
    }
}

@media (max-width: 480px) {
    .contact-layout {
        gap: 20px;
    }

    .contact-card iframe {
        height: 220px;
    }

    .enquiry-box {
        padding: 18px;
    }
}





