html { scroll-behavior: smooth; }


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

body {
  background: #ffffff;
  color: #1f2937;
}


* {
  font-family: 'Montserrat', sans-serif;
}

h1, h2, h3 {
  font-weight: 600; /* Makes headings bolder */
  letter-spacing: 1px; /* Adds space between letters for a premium feel */
}

html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

/* ---------- NAVBAR ---------- */
.navbar {
  display: flex;
  flex-direction: row !important; /* Forces them to stay side-by-side */
  justify-content: space-between;
  align-items: center;
  padding: 20px 100px; /* Reduced padding slightly for a tighter look */
  background: #ffffff;
}

.logo img {
  height: 40px; /* Adjust this value to fit your design */
  width: auto;  /* Maintains aspect ratio */
  display: block;
}

.navbar a {
  margin-left: 40px;
  text-decoration: none;
  color: #1f2937;
}

/* ---------- HERO ---------- */
.hero {
    
  height: 85vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 20px; /* Added padding so text doesn't touch screen edges on mobile */
}

.hero h1 {
  font-size: 64px;
  letter-spacing: 3px;
  font-weight: 400;
  text-transform: uppercase; /* Optional: adds to the architectural feel */
  margin: 0;
}

.hero p {
  max-width: 650px;
  margin-top: 30px;
  font-size: 18px;
  line-height: 1.6;
  color: #6b7280;
}

/* Ensure the parent hero container handles the absolute positioning */
.hero { 
    position: relative; 
}

.scroll-down {
    position: absolute;
    bottom: 30px;            /* Distance from the bottom of the hero */
    left: 50%;               /* Center horizontally */
    transform: translateX(-50%);
    z-index: 10;             /* Ensure it stays on top of images */
}

.scroll-down a {
    
    color: #D1D1D1;          /* Change color to match your theme */
    font-size: 2rem;         /* Size of the arrow */
    text-decoration: none;
    animation: bounce 2s infinite; /* The bouncing animation */
    display: block;
}

/* The Bounce Animation */
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

/* Mobile Adjustments */
@media (max-width: 768px) {
  .hero {
    height: 70vh; /* Slightly shorter on mobile to bring content up */
  }

  .hero h1 {
    font-size: 36px; /* Shrinks the title so it fits on one or two lines */
    letter-spacing: 2px;
  }

  .hero p {
    font-size: 16px; /* Slightly smaller for readability */
    margin-top: 20px;
    padding: 0 10px;
  }
}

/* ---------- PROJECTS ---------- */


.projects {
  background-color: #f7f7f7; /* Very light gray background */
  padding: 100px 10%;
}

.project-card {
  display: flex;
  background: #ffffff; /* Current white background */
  margin-bottom: 60px;
  overflow: hidden;
  align-items: stretch;
  transition: background-color 0.3s ease; /* This makes the color change smooth */
  cursor: pointer;
}
/* The hover state */
.project-card:hover {
  background-color: #dfe6e9;
  transform: translateY(-5px); /* Lifts the card up by 5 pixels */
  box-shadow: 0 10px 25px rgba(0,0,0,0.1); /* Adds a deeper shadow to match the lift */
}

/* Optional: If you want the text to change color too on hover */
.project-card:hover h3 {
  color: #000; /* Makes the title pop more on hover */
}

.project-card:hover p {
  color: #333; /* Darkens the description text for better contrast */
}


.projects h2 {
  text-align: center;
  font-size: 32px;
  font-weight: 400;
}

.projects span {
  display: block;
  text-align: center;
  margin: 20px 0 80px;
  font-size: 16px;
  color: #6b7280;
}

.project {
  display: flex;
  gap: 80px;
  margin-bottom: 100px;
}

.project img {
  width: 55%;
  height: auto;
  object-fit: cover;
  flex-shrink: 0;
  transition: transform 0.5s ease-in-out;
}

.project-info {
  width: 50%;
  padding: 60px; /* Ample white space */
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.project-info small {
  color: #999;
  font-size: 12px;
  margin-bottom: 10px;
  display: block;
}

.project-info h3 {
  font-size: 24px;
  font-weight: 400;
  margin-bottom: 20px;
  color: #1a1a1a;
}

.project-info p {
  font-size: 14px;
  color: #666;
  line-height: 1.8;
}
/* ---------- SLIDER STYLES ---------- */
.slider-container {
  width: 50%;           /* Set this to 50% as per your side-by-side layout */
  position: relative;
  overflow: hidden;     /* THIS IS KEY: It hides images that aren't the active one */
  aspect-ratio: 16 / 9; /* Ensures a consistent shape for your photos */
}

.slider {
  display: flex;        /* Puts images in a horizontal row */
  width: 100%;          /* The container is 100% of the 50% parent */
  height: 100%;
  transition: transform 0.5s ease-in-out;
  
}

.slider img {
  min-width: 100%; /* Keeps each image at the full width of the container */
  width: 100%;
  height: 100%;
  object-fit: cover;
  flex-shrink: 0;   /* CRITICAL: Prevents images from shrinking to fit side-by-side */
}

.slider-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Circular Slider Arrows */
.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 45px;            /* Diameter of the circle */
  height: 45px;
  background-color: rgba(255, 255, 255, 0.9);
  color: #111827;         /* Arrow color */
  border: none;
  border-radius: 50%;    /* Makes it a circle */
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 14px;        /* Icon size */
  transition: all 0.3s ease;
  z-index: 10;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.prev { left: 20px; }
.next { right: 20px; }

/* Hover Effect */
.prev:hover, .next:hover {
  background-color: #111827;
  color: #ffffff;
  transform: translateY(-50%) scale(1.1); /* Slight grow effect */
}

/* Adjusting the Font Awesome icon alignment */
.prev i { margin-right: 2px; }
.next i { margin-left: 2px; }

/* Responsive adjustment */
@media (max-width: 900px) {
  .slider-container {
    width: 100%;
  }
}

/* Slider Dots (Small indicator at bottom of image) */
.slider-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.dot {
  width: 6px;
  height: 6px;
  background: rgba(255,255,255,0.5);
  border-radius: 50%;
}

.dot.active {
  background: #fff;
}

/* Responsive for Mobile */
@media (max-width: 900px) {
  /* Reduce padding so nav links have room to breathe */
  .navbar {
    padding: 20px; 
    display: flex;
    justify-content: center; /* Centers the whole nav block */
  }
  
  /* Force the nav items to stay in a row */
  nav {
    display: flex;
    flex-direction: row;
    gap: 15px;
    flex-wrap: nowrap;
  }

  .projects,
  .contact,
  footer {
    padding: 40px 20px; /* 40px top/bottom, 20px left/right */
  }

  /* Added margin/padding to your About/Description text */
  .about-description, .project-info p {
    padding: 0 10px;
    margin-bottom: 30px;
  }

  .hero h1 {
    font-size: 40px; /* Slightly smaller for better fit */
    padding: 0 10px;
  }

  .hero p {
    font-size: 16px;
    padding: 0 20px; /* This gives your main text the margin you wanted */
  }

  /* Stack project images and text vertically */
  .project {
    flex-direction: column;
  }

 .project-info {
    width: 100%;
    padding: 0 20px; /* This creates the "margin" without making it narrow */
    box-sizing: border-box; /* Crucial: ensures padding doesn't add to the width */
    text-align: left; /* Optional: keeps architectural descriptions easy to read */
  }

  .project-info p {
    max-width: 100%; /* Ensures the text fills the available space */
    margin-left: 0;
    margin-right: 0;
    line-height: 1.6;
  }

  /* Ensure footer links also stay in a row if they were dropping */
  footer {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 20px;
  }
}





/* ---------- CONTACT & SOCIAL ICONS ---------- */
.contact {
  padding-top: 100px;
  padding-bottom: 20px; /* Reduce this if the gap is too large */
  text-align: center;
  background-color: #f9f9f9;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 40px; /* Space between icons */
  margin-top: 50px;
}

.social-links a {
  font-size: 32px; /* Icon size */
  color: #1f2937; /* Dark gray/black */
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-links a:hover {
  color: #6b7280; /* Subtle shift on hover */
  transform: translateY(-3px); /* Slight lift effect */
}

/* Ensure the contact section doesn't have form leftovers */
.contact form {
  display: none;
}

/* ---------- FOOTER ---------- */
footer {
  margin-top: auto; /* Pushes footer to bottom if content is short */
  padding: 20px 100px 40px; /* Reduced padding */
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #f9f9f9; /* Match this to your contact section bg */
  font-size: 12px;
  color: #888;
}

footer a {
  margin-left: 40px;
  text-decoration: none;
  color: #1f2937;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
  .navbar,
  .projects,
  .contact,
  footer {
    padding: 40px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero p {
    font-size: 16px;
  }

  .project {
    flex-direction: column;
  }

  
}

footer span, footer div {
  margin: 0;
}

.about {
  padding: 100px 10%;
  background-color: #ffffff;
  text-align: center; /* Keeps 'About Me' and the 'CV Button' centered */
}

.about-content {
  max-width: 700px;
  margin: 0 auto; /* Ensures the container itself stays centered */
}

/* This specifically handles the block of text */
.about-description {
  text-align: justify; /* Aligns text to both left and right margins */
  text-justify: inter-word; /* Improves spacing between words for a cleaner look */
  line-height: 1.8;
  color: #555;
  margin-bottom: 40px;
  font-size: 16px;
  hyphens: auto;
  -webkit-hyphens: auto;     /* Necessary for Safari/Mac support */
}

.cv-button {
  display: inline-block;
  padding: 12px 35px;
  background-color: #1a1a1a;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  border-radius: 2px;
  transition: all 0.3s ease;
}



@media (max-width: 768px) {
  .project-card {
    flex-direction: column;
  }
  .slider-container, .project-info {
    width: 100%;
    
    
    
    
  }
}

@media (max-width: 900px) {
  /* Targeted small arrows for mobile */
  .prev, .next {
    width: 28px;               /* Small, fixed width */
    height: 28px;              /* Small, fixed height */
    padding: 0;                /* Remove padding to keep it a perfect circle */
    font-size: 10px;           /* Shrink the icon/text size */
    background-color: rgba(255, 255, 255, 0.8); /* Keep them legible */
    border-radius: 50%;        /* Clean circular look */
    
    /* Center the arrow inside the small circle */
    display: flex;
    align-items: center;
    justify-content: center;
    
    /* Position them slightly tighter to the edge */
    top: 50%;
    transform: translateY(-50%);
  }

  .prev { left: 8px; }
  .next { right: 8px; }
}



/* Container for the Grid */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
}

/* Individual Plan Card */
.plan-card {
  background: #ffffff;
  border: 1px solid #eee;
  padding: 30px;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.plan-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
  border-color: #1a1a1a;
}

.plan-preview {
  height: 120px;
  background: #fcfcfc;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: #ddd;
  font-size: 50px;
}

.plan-meta h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: #1a1a1a;
}

.plan-meta p {
  font-size: 13px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 25px;
}

/* PDF Buttons */
.plan-actions {
  display: flex;
  gap: 10px;
}

.pdf-btn {
  flex: 1;
  text-align: center;
  padding: 10px 0;
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: 0.3s;
}

.pdf-btn.main {
  background: #1a1a1a;
  color: #fff;
}

.pdf-btn.sub {
  background: transparent;
  color: #1a1a1a;
  border: 1px solid #1a1a1a;
}

.pdf-btn:hover {
  opacity: 0.8;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .plans-grid {
    grid-template-columns: 1fr;
  }
}