:root {
    --navy: #0a1a3a;
    --gold: #d4af37;
    --light-gold: #f5d98e;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --dark-gray: #333333;
    --nav-height: 80px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: var(--white);
    color: var(--dark-gray);
    line-height: 1.6;
    font-size: 18px;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Navigation */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    padding: 0 50px;
    background-color: var(--navy);
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.logo {
    color: var(--gold);
    font-weight: 700;
    font-size: 24px;
    text-decoration: none;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: var(--transition);
    padding: 10px 0;
    position: relative;
}

.nav-links a:hover {
    color: var(--gold);
}

.nav-links a::before {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--gold);
    transition: var(--transition);
}

.nav-links a:hover::before {
    width: 100%;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    padding: 180px 150px 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(rgba(10, 26, 58, 0.9), rgba(10, 26, 58, 0.9)), url('../images/hero-bg.jpg') no-repeat center center/cover;
    color: var(--white);
}

.hero-content {
    max-width: 800px;
}

.hero-greeting {
    color: var(--gold);
    margin-bottom: 20px;
    font-size: 18px;
}

.hero-name {
    font-size: clamp(40px, 8vw, 80px);
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.1;
}

.hero-title {
    font-size: clamp(30px, 6vw, 50px);
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--light-gold);
}

.hero-description {
    margin-bottom: 40px;
    font-size: 18px;
    line-height: 1.8;
}

.hero-button {
    color: var(--gold);
    background-color: transparent;
    border: 2px solid var(--gold);
    border-radius: 4px;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
    letter-spacing: 1px;
}

.hero-button:hover {
    background-color: var(--gold);
    color: var(--navy);
}

/* Sections */
.section {
    padding: 100px 150px;
}

.section-header {
    display: flex;
    align-items: center;
    margin-bottom: 50px;
}

.section-header h2 {
    color: var(--navy);
    font-size: 32px;
    font-weight: 700;
    white-space: nowrap;
}

.section-header::after {
    content: '';
    display: block;
    height: 2px;
    width: 300px;
    background-color: var(--gold);
    margin-left: 20px;
}

/* About Section */
.about {
    background-color: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.about-text p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.skills-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(140px, 200px));
    gap: 10px;
    margin-top: 20px;
}

.skills-list li {
    color: var(--navy);
    list-style-type: none;
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    font-weight: 500;
}

.skills-list li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--gold);
    font-size: 20px;
}

/* Projects Section */
.projects {
    background-color: var(--light-gray);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.project-card {
    background-color: var(--white);
    border-radius: 8px;
    padding: 30px;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.project-folder {
    color: var(--gold);
    font-size: 40px;
}

.project-links a {
    color: var(--navy);
    margin-left: 15px;
    font-size: 20px;
    transition: var(--transition);
}

.project-links a:hover {
    color: var(--gold);
}

.project-title {
    color: var(--navy);
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
}

.project-description {
    margin-bottom: 20px;
    line-height: 1.6;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 14px;
    color: var(--navy);
}

.project-tech span {
    background-color: rgba(212, 175, 55, 0.1);
    padding: 5px 10px;
    border-radius: 4px;
}

/* Contact Section */
.contact {
    text-align: center;
    background-color: var(--navy);
    color: var(--white);
}

.contact .section-header h2 {
    color: var(--white);
}

.contact .section-header::after {
    background-color: var(--gold);
}

.contact-subtitle {
    color: var(--gold);
    margin-bottom: 20px;
    font-size: 20px;
}

.contact-title {
    font-size: 60px;
    margin-bottom: 20px;
    color: var(--white);
}

.contact-description {
    max-width: 600px;
    margin: 0 auto 50px;
    line-height: 1.8;
}

/* Footer */
footer {
    background-color: var(--navy);
    color: var(--white);
    text-align: center;
    padding: 30px;
}

.social-links {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.social-links a {
    color: var(--white);
    margin: 0 15px;
    font-size: 20px;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--gold);
    transform: translateY(-3px);
}

.footer-text {
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero, .section {
        padding: 100px 50px;
    }
}

@media (max-width: 768px) {
    nav {
        padding: 0 20px;
    }
    
    .hero, .section {
        padding: 100px 30px;
    }
    
    .section-header::after {
        width: 100px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-title {
        font-size: 40px;
    }
}

@media (max-width: 480px) {
    .nav-links li {
        margin-left: 15px;
    }
    
    .hero {
        padding: 150px 20px 80px;
        text-align: center;
    }
    
    .section {
        padding: 80px 20px;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .section-header::after {
        display: none;
    }
}

/* Replace the existing .logo styles with these */
.logo {
  display: flex;
  align-items: center;
  height: var(--nav-height);
}

.logo-img {
  height: 80px; /* Adjust based on your logo's proportions */
  width: auto;
  transition: var(--transition);
}

/* Optional: Add hover effect */
.logo-img:hover {
  opacity: 0.8;
}

@media (max-width: 768px) {
  .logo-img {
    height: 30px;
  }
}








/* Gallery Section Styles */
.gallery-section {
    padding: 80px 5%;
    background-color: var(--light-gray);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    aspect-ratio: 4/3;
    background-color: var(--white);
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--gold);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(10, 26, 58, 0.9), transparent);
    color: var(--white);
    padding: 20px;
    font-weight: 500;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-caption {
    opacity: 1;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-item {
        aspect-ratio: 16/9;
    }
}

/* Add this to your existing :root variables */
:root {
    --navy: #0a1a3a;
    --gold: #d4af37;
    --light-gold: #f5d98e;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --dark-gray: #333333;
}













.hero {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.hero-content {
    flex: 1;
    max-width: 50%;
}

.hero-image {
    flex: 1;
    text-align: center;
}

.hero-image img {
    width: 100%;
    max-width: 350px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.hero-image img:hover {
    transform: scale(1.05);
}
@media (max-width: 768px) {
  .hero {
      flex-direction: column;
      text-align: center;
  }

  .hero-content, .hero-image {
      max-width: 100%;
  }

  .hero-image {
      margin-top: 40px;
  }
}
.hero-image .image-wrapper {
    background-color: var(--light-gold); /* Uses the defined golden variable */
    padding: 5px;
    display: inline-block;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(196, 101, 13, 0.3);
    transition: transform 0.3s ease;
}

.hero-image .image-wrapper:hover {
    transform: scale(1.05);
}

.hero-image img {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 16px;
    display: block;
}
