* {
    box-sizing: border-box;
}

img {
    user-select: none; /* Prevent image selection */
    pointer-events: none; /* Disable dragging */
}

@font-face {
    font-family: 'Didot';
    src: url('Didot.ttf') format('truetype');
}

@font-face {
    font-family: 'Baskerville';
    src: url('Baskerville.ttf') format('truetype');
}

h1, h2, h3, h4 {
    font-family: 'Didot', serif;
}

body, p, a, ul, li, nav, div {
    font-family: 'Baskerville', serif;
}

br {
    user-select: none; /* Prevent selection */ 
    visibility: hidden; /* Hide the element */ 
    height: 0; /* Collapse space */ 
} 

body {
	/* user-select: none; /* Prevent text selection */
    margin: 0;
    padding: 0;
    background-color: #fffaf0;
    color: #5a3e36;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-x: hidden; /* Prevent horizontal scrolling */
}

nav {
    width: 100%;
    background-color: #f5e1da;
    height: 10rem; /* Fixed navbar height */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%; /* Add horizontal padding for fluidity */
	position: fixed;
	top: 0;
	left: 0;
	z-index: 1000;
}

/* Style for the hidden navbar */
nav.hidden {
  transform: translateY(-100%);
  transition: transform 0.55s ease-in-out;
}

/* Style for the visible navbar */
nav.visible {
  transform: translateY(0);
  transition: transform 0.3s ease-in-out;
}

/* Make sure the logo fits well within the navbar */
nav .logo img {
  height: 98%;
  padding: 1%;
}

.logo {
    height: 100%; /* Ensure the logo div takes full height of the navbar */
}

.logo a {
    display: flex;
    height: 100%;
    align-items: center;
}

.logo img {
    height: 98%; /* Adjust logo image height to 98% of navbar height */
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 4rem; /* Increase gap between links */
    padding: 0;
    margin: 0;
    align-items: center; /* Align links vertically center */
    height: 100%; /* Ensure nav-links take full height */
}

.nav-links a {
    text-decoration: none;
    color: #5a3e36;
    transition: color 0.3s;
    display: flex;
    align-items: center; /* Vertically center the links */
    height: 100%; /* Ensure links take full height */
	font-size: 1.333rem; 
	font-weight: 500;
}

.nav-links a:hover {
    color: #d4746a;
}

.instagram-logo {
    width: 24px;
    height: 24px;
}

/* Hero section styling */
.hero {
    position: relative;
    height: 100vh; /* Make hero section full screen */
    width: 100%;
    overflow: hidden; /* Ensure no scrollbar */
}

.slideshow-container {
    position: relative;
    height: 100%;
}

.mySlides {
    display: none;
    position: absolute;
    width: 100%;
    height: 100vh;
    animation: fade 1s ease-in-out;
}

@keyframes fade {
    from { opacity: 0.4; }
    to { opacity: 1; }
}

.mySlides img {
    width: 100%;
    height: 100vh; /* Ensure images take up full height */
    object-fit: cover;
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-weight: bold;
    font-size: 36px; /* Bigger and simpler arrow */
    opacity: 0; /* Start with invisible arrows */
    transition: opacity 0.3s ease, background-color 0.6s ease;
    padding: 10px;
	user-select: none;
}

.next {
    right: 0;
}

.prev {
    left: 0;
}

.slideshow-container:hover .prev,
.slideshow-container:hover .next {
    opacity: 0.6; /* Fade in arrows when hovering over the slideshow container */
}

.prev:hover, .next:hover {
    background-color: rgba(0, 0, 0, 0.5);
}

.hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 100);
    text-align: center;
    z-index: 1;
}

.about, .faq-investment {
    max-width: 73%;
    width: 100%;
    padding: 2rem;
    background-color: #ffffff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    margin-bottom: 4rem;
    text-align: center;
}

.row {
    display: flex;           /* Use flexbox for layout */
    flex-wrap: wrap;        /* Allow columns to wrap */
}

.column {
    flex: 1;                /* Default width for columns */
    min-width: 300px;       /* Minimum width to keep columns from getting too narrow */
    padding: 10px;          /* Optional padding */
}

.photo {
	vertical-align: top;	
}

.portfolio {
    padding: 4rem 2rem;
    background-color: #f9f4f1;
    text-align: center;
	max-width: 40%;
    width: 100%;
    padding: 2rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    margin-bottom: 4rem;
    text-align: center;
}

.portfolio h2 {
    font-family: 'Didot', serif;
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 1rem;
}


.contact {
    max-width: 60%;
    width: 100%;
    padding: 2rem;
    background-color: #ffffff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    margin-bottom: 4rem;
    text-align: center;
}

h1 {
    font-weight: normal;
	line-height: 0.6;
}

h2 {
    color: #d4746a;
    margin-bottom: 1rem;
}

.divider {
    width: 50px;
    height: 3px;
    background-color: #d4746a;
    margin: 0 auto 1rem;
}





.divider {
    width: 50%;
    margin: 0 auto 2rem auto;
    border: 0;
    height: 1px;
    background: #e0b4a2;
}

.gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
}

.gallery-item {
    flex: 1 1 calc(30% - 1rem);
    background-color: #f8e6e0;
    padding: 2rem;
    border: 2px solid #e0b4a2;
    text-align: center;
    border-radius: 12px;
    font-family: 'Baskerville', serif;
    font-size: 1.2rem;
    color: #333;
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    background-color: #e0b4a2;
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}



footer {
    text-align: center;
    padding: 1rem;
    background-color: #f5e1da;
    width: 100%;
}

.contact form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.contact form .name-fields {
    display: flex;
    gap: 1rem;
    width: 80%;
}

.contact form .name-fields .field {
    flex: 1;
}

.contact form input, .contact form select, .contact form textarea, .contact form button {
    padding: 0.5rem;
    border: 1px solid #e0b4a2;
    border-radius: 4px;
    width: 80%;
}

.contact form input, .contact form select {
    height: 2rem; /* Set a fixed height for the input and select fields */
}

.contact form select option[disabled][selected] {
    color: gray; /* Set the color for the placeholder option */
}

.contact form textarea {
    height: 9rem; /* Adjust the height to make the textarea longer */
}

.contact form button {
    background-color: #d4746a;
    color: #fff;
    cursor: pointer;
    transition: background-color 0.3s;
}

.contact form button:hover {
    background-color: #b3594a;
}


/* Add this to styles.css */
section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1.1s ease-out, transform 1.1s ease-out;
	scroll-margin-top: 12vh; /* Offset to center the title */
}

section.visible {
    opacity: 1;
    transform: translateY(0);
}

a:link {
   color:inherit;
}

p a {
    color: #d4746a;
    text-decoration: underline;
}

p a:hover {
    color: #b35a52;
	transition: color 0.3s;
}

h2 a {
    color: #d4746a;
    text-decoration: underline;
}

h2 a:hover {
    color: #b35a52;
    transition: color 0.3s;
}

.image-row {
	display: flex;
	justify-content: space-between;
	align-items: right;
	gap: 10px; /* Space between images */
}
.image-row img {
	width: 100%;
	max-width: 100%; /* Adjust this if you change the gap */
	height: auto;
	object-fit: cover;
}

.works {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 1rem;
	margin-top: 2rem;
}

.works img {
	width: calc(25% - 1rem); /* 4 images per row */
	max-width: 100%; /* Ensure responsiveness */
	border-radius: 8px;


}

.works img:hover {
	transform: scale(1.5);
}


/* Responsive Navbar Height */
@media (max-width: 1400px) {
    nav {
        height: 6rem; /* Set a smaller fixed height */
        padding: 0 5%; /* Maintain horizontal padding */
    }

    .nav-links {
        padding: 0.5rem 0; /* Add some vertical padding */
        align-items: center; /* Center links vertically */
    }

    .nav-links a {
        font-size: 1.1rem; /* Reduce font size of links */
    }
}
/* Mobile Styles */
@media (max-width: 1100px) {
    nav {
        padding-left: 2rem; /* Reduce padding for mobile */
        padding-right: 2rem; /* Reduce padding for mobile */
        flex-direction: column; /* Stack items vertically */
        align-items: center; /* Center items */
        height: auto; /* Allow height to adjust */
    }

    .logo img {
        height: auto; /* Maintain aspect ratio */
        max-height: 80px; /* Set a maximum height for the logo */
    }

    .nav-links {
        flex-direction: column; /* Stack links vertically */
        align-items: center; /* Center links */
        gap: 1rem; /* Space between links */
        padding: 1rem 0; /* Add padding around links */
        text-align: center; /* Center text in links */
    }

    .portfolio-container {
        max-width: 90%; /* Increase width on mobile */
    }

    .portfolio-item {
        flex: 1 1 calc(100% - 1rem); /* Stack images vertically */
        max-width: 100%; /* Full width for images */
    }

    h1, h2, h3 {
        font-size: 1.5rem; /* Adjust font size for headings */
    }

    .divider {
        width: 70%; /* Adjust divider width */
    }

    .hero-text {
        font-size: 1.5rem; /* Adjust hero text size */
    }

    h3 {
        text-align: center; /* Center the text on mobile */
        font-size: 1.2rem; /* Adjust font size for better visibility */
    }

    .column {
        flex: 100%;         /* Stack columns on smaller screens */
    }
}
