:root {
    --gold: #d4af37;
    --gold-dark: #b89628;
    --light-bg: #fdeedc;
    --dark-text: #333;
}

.bg-img{
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    background: rgba(0, 0, 0, 0.4);
    z-index: -1;
}

.bg-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.4);
    z-index: -1;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--dark-text);
    scroll-behavior: smooth;
}

section {
    padding: 100px 0;
}

.text-gold { 
    color: var(--gold); 
}

.text-gold #typing{
    font-size: 5rem !important;
}


.btn-gold {
    background: var(--gold);
    color: white;
    border-radius: 25px;
    padding: 10px 25px;
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
    transition: all 0.3s ease;
}
.btn-gold:hover {
    background: var(--gold-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.6);
    color: white;
}

.navbar {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: background 0.3s ease;
}
.navbar.scrolled { background-color: white !important; }
.nav-link {
    color:var(--light-bg);
    font-weight: 500;
    margin: 0 10px;
    transition: color 0.3s ease;
}
.nav-link:hover { color: var(--gold); }
.navbar-toggler { border: none; }
.navbar-toggler-icon { filter: invert(1); }

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    /* background: url("images/books.gif") center center / cover no-repeat; */
    color: white;
    z-index: 1;
}
.hero::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    /* background: rgba(0,0,0,0.4); */
    z-index: -1;
}
.hero .container {
    position: relative;
    z-index: 2;
}


.profile-img img {
    max-width: 260px;
    border: 5px solid var(--gold);
    padding: 10px;
    background-color: white;
    border-radius: 50%;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.profile-img img:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4);
}
.social-links a {
    display: inline-block;
    margin-right: 15px;
    font-size: 1.5rem;
    color: var(--gold);
    transition: transform 0.3s ease, color 0.3s ease;
}
.social-links a:hover {
    color: var(--dark-text);
    transform: translateY(-3px);
}
#hero,
#about,
#skills,
#portfolio,
#hobbies,
#contact {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 100px 0;
    min-height: 100vh;
}


/* .about {
    background: url("images/mountains.jfif") center center / cover no-repeat;
    color: white;
}
.skills {
    background: url("images/Ideal Style.jfif") center center / cover no-repeat;
    color: white;
}
.hobbies {
    background: url("images/mountains with birds.jfif") center center / cover no-repeat;
    color: white;
} */
/* #contact {
    background: linear-gradient(135deg, #1e1e2f, #2a2a40);
    color: #fff;
} */
 
#contact h2, 
#contact p, 
#contact label { color: #fff; }

#about img {
    max-width: 100%;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}
#about p { line-height: 1.7; }

#skills img {
    margin: auto;
    transition: transform 0.3s ease;
}
#skills img:hover { transform: scale(1.1); }
#skills h5 { color: var(--dark-text); }

.carousel-item img {
    object-fit: cover !important;
    width: 600px !important; 
    height: 600px !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    background-size: 60%;
}

#hobbies .card {
    min-height: 400px;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
#hobbies .card-body i {
    font-size: 5rem;
    margin-bottom: 25px;
}
#hobbies .card-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 20px;
}
#hobbies .card-text {
    font-size: 1.2rem;
    line-height: 1.7;
    max-width: 90%;
    margin: 0 auto;
}
#hobbies .card:hover {
    transform: scale(1.08);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
}
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .hero { text-align: center; }
    .profile-img { margin-bottom: 30px; }
}

.footer {
  background-color: #121212;
  padding: 30px 0;
  color: var(--text-light);
  font-size: 0.95rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
  text-align: center;
  opacity: 0.8;
}

.footer-content p {
  margin: 0;
  color: #ccc;
  letter-spacing: 0.5px;
  transition: opacity 0.3s ease;
}

.footer-content span {
  color: var(--accent);
  font-weight: 500;
}

.footer-content p:hover {
  opacity: 1;
}
.footer-links {
  margin-top: 10px;
}

#typing {
  font-size: 2.8rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  border-right: 3px solid var(--gold);
  display: inline-block;
  animation: blink 0.7s step-end infinite;
}

@keyframes blink {
  50% { border-color: transparent; }
}