@import url('https://fonts.googleapis.com/css2?family=Merriweather:ital,opsz,wght@0,18..144,300..900;1,18..144,300..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Merriweather:ital,opsz,wght@0,18..144,300..900;1,18..144,300..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

<!-- Font Awesome Icons -->
:root{
    --burgundy:#6A0D25;
    --gold: #D4AF37;
    --light: #F8F5F2;
    --dark: #1E1E1E;
}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    scroll-behavior:smooth;
}

.text-container {
    flex: 0 1 34em;
}

body{
    font-family:'Poppins', sans-serif;
    background:var(--light);
    color:var(--dark);
}

h1,h2,h3{
    font-family: poppins, serif;
}

section{
    padding:80px 10%;
}

.navbar{
    position:fixed;
    width:100%;
    background:white;
    padding:15px 10%;
    display:flex;
    justify-content:space-between;
    align-items:center;
    box-shadow:0 2px 10px rgba(0,0,0,0.05);
    z-index:1000;
}

.navbar a{
    text-decoration:none;
    color:var(--dark);
    margin-left:20px;
    font-weight:500;
}

.logo{
    font-weight:700;
    font-size:22px;
    color:var(--burgundy);
}

.hero{
    height:100vh;
    background:url(/Images/ai-generated-colorful-graphic-design-workspace-with-creative-tools-photo.jpeg) center/cover;
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
    color:white;
    padding:0 20px;
}

.hero h1{
    font-size:60px;
}

.hero p{
    margin:20px 0;
    font-size:18px;
}

.cta-button {
    display: inline-block;
    text-decoration: none;
    color: white;
    background-color:var(--gold);
    padding: .75em 1.25em;
    border-radius: .5em;
    font-weight: 600;
}
.cta-button-primary:hover{
    background:var(--gold);
}

.grid{
    display:grid;
    gap:30px;
}

.grid-3{
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
}

.card{
    background:rgb(70, 3, 3);
    color: white;
    padding:25px;
    border-radius:15px;
    box-shadow:0 5px 20px rgba(129, 4, 4, 0.05);
    transition:0.3s;
}

.card:hover{
    transform:translateY(-5px);
}
.portfolio{
 padding: 100px 8%;
}

.gallery {
columns: 3 250px;
gap: 15px;
}
.gallery img {
  width: 100%;
  margin-bottom: 15px;
  border-radius: 8px;
  transition: transform 0.3s ease;
}
.gallery img:hover{
    transform:scale(1.05);
}

/* .portfolio{
  border: 2px solid red;
  padding: 100px 8%;
}
.portfolio h2{
  display: flex;
  justify-content: center;
  text-align: center;
  font-size: 50px;
}
.gallery{
  columns: 100px 8%;
  gap: 15px;
}
 .gallery img{
  width: 50%;
  margin-bottom: 15px;
  border-radius: 8px;
  transition: transform 0.3s ease;
 } */

details summary {
    padding: 1em;
    font-size: 1.4em;
    font-family:Merriweather, Poppins, Segoe, Verdana, Geneva, Tahoma, sans-serif;
    text-decoration: none;
    color: black;
}

details p {
    padding: 0 2em 2em 2em;
    text-decoration: none;
     color: black;
}

.contact form{
    display:grid;
    gap:15px;
}

input, textarea{
    background-color: white;
    color: black;
    padding:12px;
    border-radius:10px;
    border:1px solid #ddd;
    font-family:'Poppins';
}

textarea{
    resize:none;
    height:120px;
}

button{
    background-color: rgb(55, 4, 4);
    color: white;
}
footer  {
    margin: 6em auto 5em auto;
   font-size: 0.9rem;
    color: black;
    text-align: center;
}
footer a {
   color: #F3F7F9;
   text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
       
}
.social-icons a{
    color:white;
    margin:0 10px;
    font-size:20px;
    transition:0.3s;
}

.social-icons a:hover{
    color:var(--gold);
}

/* Base Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 8%;
    background: #ffff;
    color: rgb(0, 0, 0);
}

.logo {
    font-size: 20px;
    font-weight: bold;
}

.nav-links {
    display: flex;
    gap: 25px;
}

.nav-links a {
    text-decoration: none;
    color: black;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #f39c12;
}

/* Hamburger Button */
.menu-toggle {
    display: none;
    font-size: 28px;
    background: white;
    border: none;
    color: black;
    cursor: pointer;
}

/* Mobile Styles */
@media (max-width: 769px) {

    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 70px;
        right: 0;
        background: #ffff;
        flex-direction: column;
        width: 100%;
        text-align: center;
        padding: 20px 0;
        display: none;
    }

    .nav-links a {
        padding: 10px 0;
        display: block;
    }

    .nav-links.active {
        display: flex;
    }
}

/* Responsive */
@media (max-width: 1200px) {
  .hero h1 {
    font-size: 50px;
  }

  section {
    padding: 80px 8%;
  }
}

@media (max-width: 768px) {

  .hero {
    height: auto;
    padding: 120px 20px;
  }

  .hero h1 {
    font-size: 32px;
    line-height: 1.3;
  }

  .hero h2 {
    font-size: 18px;
  }

  .navbar {
    padding: 15px 5%;
  }

  .navbar a {
    margin-left: 10px;
    font-size: 14px;
  }

  .logo {
    font-size: 18px;
  }

  section {
    padding: 50px 5%;
  }

  .card {
    padding: 20px;
  }

  .preloader-logo {
    width: 120px;
  }
  .gallery{
    display: grid;
  grid-template-columns: repeat(3, 1fr);
 gap: 15px;
  
}
.gallery img {
  width: 100%;
  margin-bottom: 15px;
  border-radius: 8px;
  transition: transform 0.3s ease;
}
}

@media (max-width: 480px) {

  .hero h1 {
    font-size: 26px;
  }

  .hero h2 {
    font-size: 16px;
  }

  .cta-button {
    padding: 10px 15px;
    font-size: 14px;
  }

  
    .menu-toggle {
        display: flex;
    }

  .navbar {
    flex-direction: column;
  }

  .nav-links a {
    background-color: white;
    text-decoration: none;
    color: black;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #f39c12;
}

  .navbar a {
    display: block;
    margin: 5px 0;
  }

  .grid-3 {
    grid-template-columns: 1fr;
  }
  .gallery{
    display: grid;
  grid-template-columns: repeat(2, 1fr);
 gap: 15px;
  
}
.navbar{
  display: flex;
  
}
}


/* pre loader page */
/* ================= PRELOADER ================= */

#main-content {
    display: none;
}

#preloader {
    position: fixed;
    width: 100%;
    height: 100vh;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.8s ease;
}

.loader-content {
    text-align: center;
}

.loader-content img {
    width: 180px;
    margin-bottom: 20px;
    animation: fadeZoom 1.5s ease-in-out infinite alternate;
}

@keyframes fadeZoom {
    from { transform: scale(1); opacity: 0.8; }
    to { transform: scale(1.1); opacity: 1; }
}




/* Loading bar */
.loading-bar {
    width: 200px;
    height: 5px;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    margin: auto;
}

.loading-fill {
    height: 100%;
    width: 0;
    background: #D4AF37;
    animation: loading 2s ease forwards;
}

@keyframes loading {
    to { width: 100%; }
}

/* Responsive */
@media (max-width: 768px) {
    .loader-content img {
        width: 130px;
    }

    .loading-bar {
        width: 150px;
    }
}
