/* Reset and Base Styles */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&family=Roboto:wght@300;400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Varela+Round&display=swap');



* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    direction: rtl;
      -webkit-user-select: none; /* Safari */
  -ms-user-select: none; /* IE 10 and IE 11 */
  user-select: none; /* Standard syntax */
}

:root {
    --primary-color: #121212;
    --secondary-color: #f5f5f5;
    --accent-color: yellow;
    /*--accent-color: #b8860b;*/
    --text-color: #121212;
    --background-color: #ffffff;
    --primary-font: 'Open Sans', sans-serif;
    --secondary-font:'Open Sans', sans-serif;
}

body {
    font-family: var(--secondary-font);
    font-style: italic;
    color: var(--text-color);
    background-color: var(--background-color);
    line-height: 1.6;
    padding-top: 100px;
}

/* unvisited link */
#contact a:link {
  color: white;
  text-decoration: none;
}

/* visited link */
#contact a:visited {
  color: white;
  text-decoration: none;
}

/* mouse over link */
#contact a:hover {
  color: white;
  text-decoration: none;
}

/* selected link */
#contact a:active {
  color: white;
  text-decoration: none;
}

/* Header Styles */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background-color: rgba(255, 255, 255, 1);
    z-index: 1000;
    //box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Adjust sections to account for the fixed header */
section {
    padding-top: -80px; /* Adjust this value to match the height of your header */
}

/* Fix anchor scrolling issue */
[id] {
    scroll-margin-top: 80px; /* Same value as the header height */
}

.logo-container .logo {
    //max-width: 150px;
    height: 70px;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 1.5rem;
}

nav ul li a {
    text-decoration: none;
    font-weight: 500;
    text-transform: uppercase;
    //letter-spacing: 1px;
    padding: .25rem .75rem;
    border-radius: 100px;
    color: var(--primary-color);
    background: none;
    transition: all 0.3s ease;
}

nav ul li a:hover {
    color: var(--accent-color);
    background: var(--primary-color);
}


/* Full Width Sections */
.full-width {
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* Home Section */
.home-content {
    max-width: 600px;
    text-align: center;
    z-index: 10;
    position: relative;
    background: var(--background-color);
    padding: 3.5rem 7rem;
    display: none;
}

.home-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    //opacity: 0.5;
}

.home-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#home h1 {
    font-family: var(--primary-font);
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

#home p {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    
}

.cta-button {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--primary-color);
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background-color 0.3s ease;
    border-radius: 100px;
}

.cta-button:hover {
    //background-color: black;
}

/* Section Styles */
.section-content {
    text-align: center;
    width: 100%;
    //max-width: 1200px;
    //margin-top: 2rem;
}

section h2 {
    font-family: var(--primary-font);
    font-size: 3rem;
    color: var(--primary-color);
    //margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

section p {
    max-width: 800px;
    margin: 0 auto 2rem;
    font-weight: 300;
}

/* About */
#about{
    display: flex;
    align-items: center;
    color: var(--secondary-color);
    background-color: var(--primary-color);
    height: 700px;
}
#about h2{
    color: var(--accent-color);
}

/* Collections */
#collections{
    padding-top: 5%;
}
.collection-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 5rem;
}

.collection-item {
    background-color: var(--secondary-color);
    position: relative;
    overflow: hidden;
    //transition: all .3s ease-in-out;
}

.collection-item img {
    width: 100%;
    //height: 400px;
    object-fit: cover;
}

.collection-item h3 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px; /* Default height */
    padding: 1rem;
    background-color: var(--primary-color); /* Default background color */
    color: white; /* Default text color */
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background-color 0.3s ease, height 0.3s ease; /* Smooth transition for both rollover and rollout */
}

.collection-item:hover h3 {
    background-color: var(--accent-color); /* Change to your desired color */
    color: var(--primary-color); /* Optional: Change text color */
    height: 70px; /* Increase the height */
}

.whatsapp-float {
  position: fixed;
  bottom: 15px;
  right: 15px;
  background: #25d366;
  color: white;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  z-index: 9999;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  text-decoration: none;
}
.whatsapp-float i{
    font-size: 2rem;
}



/* Contact Section Specific Styles */
#contact{
    background:var(--accent-color);
    padding: 5%;
}

#contact h2 {
    margin-bottom: 2rem;
}

.contact-layout {
    display: flex;
    width: 100%;
    height: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-map {
    flex: 1;
    margin: 0 2rem;
    order: 2; /* Move the map to the second position */
}

.contact-info-container {
    flex: 1;
    display: flex;
    align-items: center;
    max-width: 350px;
    order: 1; /* Move the contact info to the first position */
}

.contact-details {
    width: 100%;
    padding: 2rem 3rem;
    background-color: var(--primary-color);
    text-align: right;
}

.contact-details h3 {
    font-family: var(--primary-font);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--secondary-color);
}
.contact-details h4 {
    color: var(--accent-color);
}
    

.contact-details i {
    font-size: 1.5rem;
    
}
.contact-details .icon{
    width: 70px;
    height: 70px;
    padding: .5rem 1.5rem;
    margin: 0 0 0 1.5rem;
    color: var(--background-color);
    background: black;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 100%;
}
.contact-details .txt {
    display: flex;
    color: var(--secondary-color);
}

.address {
    margin-bottom: 2rem;
    
}

.address p,
.contact-communication p {
    margin: 0.5rem 0;
    font-weight: 300;
}

.contact-communication > div {
    margin-bottom: 1.5rem;
}

.contact-communication h4, h4 {
    font-family: var(--primary-font);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Responsive adjustments for contact section */
@media screen and (max-width: 1024px) {
    .contact-layout {
        //flex-direction: column;
    }

    .contact-map {
        //margin-right: 0;
        //margin-bottom: 2rem;
    }

    .contact-info-container {
        width: 100%;
    }
}
footer {
    background-color: var(--primary-color);
    color: white;
    text-align: center;
    padding: 2rem 5%;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    //max-width: 1200px;
    margin: 0 auto;
}

.social-links a {
    color: white;
    text-decoration: none;
    margin-left: 1rem;
    //text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

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

/* Responsive Design */
@media screen and (max-width: 1200px) {
    .collection-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .contact-details {
        flex-direction: column;
        align-items: center;
        //text-align: left;
        //padding: 2rem;
    }

    .contact-details > div {
        margin-bottom: 2rem;
    }
}

@media screen and (max-width: 768px) {
    header {
        flex-direction: column;
    }

    nav ul {
        margin-top: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    nav ul li {
        margin: 0 0.5rem 0.5rem;
    }

    #home h1 {
        font-size: 3rem;
    }

    .collection-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        flex-direction: column;
    }

    .social-links {
        margin-top: 1rem;
    }

}

@media screen and (max-width: 480px) {
    section {
    padding-top: 0px; /* Adjust this value to match the height of your header */
}

/* Fix anchor scrolling issue */
[id] {
    scroll-margin-top: 148px; /* Same value as the header height */
}

body{
    padding-top: 50px;
}

.whatsapp-float {
    width: 50px;
    height: 50px;
}

    nav ul li {
        margin: 0;
        padding: 0;
    }
    section{
        padding: 1rem;
    }

    #home h1 {
        font-size: 2.5rem;
    }  

    .home-content {
    padding: 2rem;
}
        #about{
        max-height: 400px;
        padding: 3rem;
    }

    .collection-grid {
        grid-template-columns: 1fr;
        margin: 4px;
        gap: 20px;

    }

    .collection-item:hover h3 {
        background-color: var(--primary-color); /* Default background */
        color: white; /* Default text color */
        height: 60px; /* Default height */
    }


        .contact-layout {
        flex-direction: column;
    }

    .contact-map {
        margin:1rem 0;
        
    }
    .contact-map  iframe{
        height: 250px;
    }
        .contact-info-container {
        max-width: 100%;
    }

}
