
/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Root variables */
:root {
  --primary-color: #0b2e24;
  --white: #ffffff;
  --hover-color:white;
}

/* Navigation Bar Styling */
nav {
  position: sticky; /* Makes the nav sticky */
  top: 0; /* Keeps the nav at the top of the viewport */
  z-index: 1000; /* Ensures the nav stays above other elements */
  background-color: #0b2e24; /* Keeps the background consistent */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Adds a subtle shadow for better visibility */
}

/* Navigation Container */
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #0b2e24;
  padding: 10px 20px;
}

/* Logo Styling */
.nav-logo img {
  width: 140px;
}

/* Navigation Menu */
.nav-menu {
  display: flex;
  list-style-type: none;
  gap: 20px;
}

.nav-item {
  margin: 0;
}

.nav-link {
  text-decoration: none;
  color: var(--white);
  font-size: 18px;
  transition: color 0.3s ease-in-out;
}

.nav-link:hover {
  color: var(--hover-color);
}

/* Bars Icon for Mobile */
.bars {
  display: none;
  font-size: 24px;
  color: var(--white);
  cursor: pointer;
}

/* Responsive Design */
@media (max-width: 768px) {
  /* Hide navigation menu by default */
  .nav-menu {
    display: none;
    flex-direction: column;
    background-color: #0b2e24;
    position: absolute;
    top: 60px;
    right: 20px;
    padding: 10px;
    width: 200px;
    border-radius: 8px;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Shadow for dropdown menu */
  }

  /* Display navigation menu when active */
  .nav-menu.active {
    display: flex;
  }

  /* Display bars icon for mobile */
  .bars {
    display: block;
  }

  .nav-link {
    font-size: 16px;
    margin: 5px 0;
  }
}


    
.two {
  font-size: 25px;
  font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;

}

.ten {
  font-size: 40px;
  font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}

.four{
  font-size: 40px;
}



.box {
  padding-top: 30px;
  text-align: center;
  margin: 20px auto;

}

.box p {
  font-family: Arial, sans-serif;
  font-size: 24px;
  color: #494646;
  margin-bottom: 20px;

}

/* Portfolio Grid */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 50px;
  margin-top: 30px;
  margin-left: 30px;
  margin-right: 30px;
}

/* Portfolio Items */
.portfolio-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

/* Portfolio Images */
.portfolio-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.portfolio-item:hover .portfolio-image {
  transform: scale(1.05);
}

/* Text Overlay */
.portfolio-info {
  position: absolute;
  bottom: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.7);
  color: #f3ef1c;
  text-align: center;
  transition: opacity 0.3s ease-in-out;
  opacity: 0;
}

.portfolio-item:hover .portfolio-info {
  opacity: 1;
}

.portfolio-info h3 {
  font-size: 25px;
  font-family: 'Playfair Display', serif;
  font-weight: bold;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .portfolio-grid {
    grid-template-columns: repeat(3, 1fr); /* 3 items per row */
  }
}

@media (max-width: 900px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 items per row */
    gap: 20px;
  }

  .portfolio-item {
    margin-bottom: 20px;
  }
}

@media (max-width: 600px) {
  .portfolio-grid {
    grid-template-columns: 1fr; /* 1 item per row */
    gap: 15px;
  }

  .portfolio-item {
    margin-bottom: 15px;
  }

  .portfolio-info h3 {
    font-size: 20px; /* Adjust text size for mobile */
  }

  .portfolio-image {
    height: 200px; /* Adjust image height for smaller screens */
  }
}

@media (max-width: 480px) {
  .portfolio-info h3 {
    font-size: 18px; /* Smaller font size for very small screens */
  }

  .portfolio-image {
    height: 180px; /* Adjust image height for very small screens */
  }
}




* {
 
  box-sizing: border-box;
}

/* Meet Designer Section */
.meet-designer-section {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end; /* Align content at the bottom */
  justify-content: space-between; /* Push form to the right */
  background-image: url('assets/dinninghall.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 100vh;
  color: #fff;
  padding: 20px;
  position: relative;
}

/* Container: Align Left and Right Sections */
.container {
  display: flex;
  justify-content: space-between;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Left Content: Background and Tagline */
.hero-image {
  flex: 1;
  background-size: cover;
  background-position: center;
  height: 400px;
}

.hero-content h1 {
  font-size: 3rem;
  color: rgb(30, 8, 8);
  text-align: left;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
  max-width: 80%;
  line-height: 1.2;
  word-wrap: break-word;
  white-space: normal;
}

/* Designer Form Styling */
.designer-form {
  flex: 1;
  background-color: rgba(255, 255, 255, 0.95);
  color: #333;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  max-width: 400px;
  max-height: 500px;
  margin: 0; /* Remove any margin to prevent shifting */
  align-self: flex-end; /* Always align at the bottom */
  align-self: center
}

.designer-form span {
  font-size: 1.8rem;
  display: block;
  margin: 15px;
  color: #d4a373;
}

.designer-form form {
  display: flex;
  flex-direction: column;
}

.designer-form label {
  margin-top: 10px;
  font-weight: 500;
  margin-top: 20px;

}

.designer-form input,
.designer-form select {
  padding: 8px;
  margin-top: 5px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1rem;
}

.phone-input {
  display: flex;
  align-items: center;
  gap: 10px;
}

.terms-container {
  margin: 10px 0;
  font-size: 0.9rem;
  margin-top: 20px;

}

.designer-form button {
  padding: 10px;
  width: 100%;
  background-color: #d4a373;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-top: 20px;
  margin-bottom: 20px;

}

.designer-form button:hover {
  background-color: #b78a5a;
}

/* Responsive Design */

/* For devices with a max-width of 1024px */
@media (max-width: 1024px) {
  .meet-designer-section {
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    height: auto;
  }

  .hero-image {
    width: 100%;
    height: 300px;
  }

  .designer-form {
    width: 90%;
    margin: 20px 0;
    align-self: flex-end;
  }
}

/* For devices with a max-width of 768px */
@media (max-width: 768px) {
  .hero-image {
    height: 250px;
  }

  .designer-form {
    width: 100%;
    padding: 20px;
    align-self: flex-end;
  }
}

/* For devices with a max-width of 480px */
@media (max-width: 480px) {
  .hero-image {
    height: 200px;
  }

  .designer-form {
    width: 100%;
    padding: 10px;
  }

  .designer-form span {
    font-size: 1.5rem;
  }

  .designer-form button {
    font-size: 0.9rem;
  }

  .hero-content h1 {
    font-size: 2rem;
  }
}


/* Footer Section */
footer {
  background-color: #0b2e24;
  color: #ffffff;
  padding: 20px 10px;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
}

.footer-container div {
  flex: 1 1 100px;
}

.logo1 {
  max-width: 200px;
  height: auto;
  margin-bottom: 15px;
  margin-left: 30px;
}

.about-section p {
  line-height: 1.6;
  font-size: 14px;
  margin-top: 10px;
  text-align: justify;
}

.servicename {
  color: #ffd700;
  margin-bottom: 15px;
  text-align: left;
  margin-left: 20px;
}

.contact-section h4 {
  color: #ffd700;
  margin-bottom: 15px;
  text-align: left;
  margin-left: 20px;
}

.lists {
  list-style: none;
  padding: 0;
  margin-bottom: 8px;
  font-size: 14px;
  text-align: left;
  margin-left: 20px;
  line-height: 1.8;
}

.lists a {
  text-decoration: none;
  color: #ffffff;
  font-size: 14px;
}

.lists a:hover {
  color: #ffd700;
  text-decoration: underline;
}

.contact-section p {
  font-size: 14px;
  margin-bottom: 8px;
  text-align: left;
  margin-left: 20px;
}

.social-icons {
  margin-top: 30px;
  margin-left: 20px;
  text-align: left;
}

.social-icons i {
  color: #ffffff;
  margin-right: 10px;
  font-size: 25px;
  cursor: pointer;
}

.social-icons a {
  color: #ffffff;
  margin-right: 10px;
  font-size: 18px;
  text-decoration: none;
}

.social-icons a:hover {
  color: #ffd700;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid #444;
  margin-top: 20px;
  padding-top: 20px;
  font-size: 14px;
}

.footer-bottom p {
  margin: 5px 0;
}

.lastline {
  text-align: center;
}

/* Responsive Design */

/* Medium devices (tablets, 768px and below) */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  .logo1 {
    max-width: 150px;
    margin: 0 auto 15px;
  }

  .servicename,
  .contact-section h4 {
    font-size: 16px;
    margin: 10px 0;
    text-align: center;
  }

  .lists {
    font-size: 12px;
    margin: 0 auto;
    text-align: center;
  }

  .social-icons {
    margin: 20px auto;
    text-align: center;
  }

  .social-icons i {
    font-size: 20px;
  }

  .footer-bottom {
    font-size: 12px;
    margin-top: 10px;
  }

  .lastline {
    font-size: 13px;
  }
}

/* Small devices (mobile, 480px and below) */
@media (max-width: 480px) {
  .footer-container {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .logo1 {
    max-width: 120px;
    margin: 0 auto;
  }

  .servicename,
  .contact-section h4 {
    font-size: 14px;
    margin: 10px 0;
  }
  .contact-section p {
    text-align: center;

  }

  .lists {
    font-size: 11px;
    text-align: center;
  }

  .social-icons {
    margin: 15px auto;
    text-align: center;
  }

  .social-icons i {
    font-size: 18px;
  }

  .footer-bottom {
    font-size: 10px;
    margin-top: 10px;
  }

  .lastline {
    font-size: 12px;
  }
}
