:root {
    --black: #0a0a0a;
    --gold: #FFD700;
    --dark-gold: #D4AF37;
    --light-gold: #FFEC8B;
    --white: #f0f0f0;
    --gray: #333;
    --section-padding: 80px 0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--black);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(212, 175, 55, 0.05) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(212, 175, 55, 0.05) 0%, transparent 20%);
    background-size: 400px 400px;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    color: var(--gold);
    margin-bottom: 20px;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Header & Navigation */
header {
    background-color: rgba(10, 10, 10, 0.95);
    position: fixed;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    border-bottom: 1px solid var(--dark-gold);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 28px;
    font-weight: 700;
    color: var(--gold);
    text-decoration: none;
    font-family: 'Playfair Display', serif;
    display: flex;
    align-items: center;
}

.logo i {
    margin-right: 10px;
    color: var(--light-gold);
}

.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: all 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: var(--gold);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--gold);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    cursor: pointer;
    background: transparent;
    border: none;
    font-size: 24px;
    color: var(--gold);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(10, 10, 10, 0.85), rgba(10, 10, 10, 0.9)), 
                url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="%230a0a0a"/><path d="M0,0 L100,100 M100,0 L0,100" stroke="%23D4AF37" stroke-width="1"/></svg>');
    background-size: cover;
    height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 10% 20%, rgba(212, 175, 55, 0.1) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(212, 175, 55, 0.1) 0%, transparent 20%);
    pointer-events: none;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    padding-top: 80px;
}

.hero h1 {
    font-size: 4.5rem;
    margin-bottom: 20px;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
}

.hero h2 {
    font-size: 1.8rem;
    color: var(--white);
    font-weight: 300;
    margin-bottom: 30px;
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 40px;
    color: var(--light-gold);
}

.btn {
    display: inline-block;
    background: var(--gold);
    color: var(--black);
    padding: 14px 35px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: 2px solid var(--gold);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
    margin: 10px;
}

.btn:hover {
    background: transparent;
    color: var(--gold);
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
}

.btn-outline {
    background: transparent;
    color: var(--gold);
}

.btn-outline:hover {
    background: var(--gold);
    color: var(--black);
}

/* Sections */
section {
    padding: var(--section-padding);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--gold);
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-text {
    padding-right: 20px;
}

.about-text p {
    margin-bottom: 20px;
}

.personal-info {
    background: rgba(51, 51, 51, 0.3);
    padding: 25px;
    border-radius: 10px;
    border: 1px solid var(--dark-gold);
}

.info-item {
    display: flex;
    margin-bottom: 15px;
}

.info-item strong {
    width: 130px;
    color: var(--gold);
}

.about-image {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.2);
    height: 400px;
    background: 
        linear-gradient(45deg, var(--black) 0%, var(--gray) 100%),
        url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="%23D4AF37" stroke-width="1"/><line x1="0" y1="50" x2="100" y2="50" stroke="%23D4AF37" stroke-width="0.5"/><line x1="50" y1="0" x2="50" y2="100" stroke="%23D4AF37" stroke-width="0.5"/></svg>');
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 1.5rem;
    text-align: center;
    padding: 20px;
}

/* Education & Experience */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    width: 2px;
    background-color: var(--gold);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
}

.timeline-item {
    padding: 20px 40px;
    position: relative;
    width: 50%;
    box-sizing: border-box;
}

.timeline-item:nth-child(odd) {
    left: 0;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-content {
    background: rgba(51, 51, 51, 0.3);
    padding: 25px;
    border-radius: 10px;
    border: 1px solid var(--dark-gold);
    position: relative;
}

.timeline-content::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--gold);
    border-radius: 50%;
    top: 30px;
}

.timeline-item:nth-child(odd) .timeline-content::after {
    right: -40px;
}

.timeline-item:nth-child(even) .timeline-content::after {
    left: -40px;
}

.timeline-date {
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 10px;
}

/* Projects */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.project-card {
    background: rgba(51, 51, 51, 0.3);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--dark-gold);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.2);
}

.project-header {
    background: var(--dark-gold);
    padding: 20px;
    color: var(--black);
}

.project-header h3 {
    color: var(--black);
    margin-bottom: 5px;
}

.project-body {
    padding: 25px;
}

.project-duration {
    color: var(--black);
    font-weight: 600;
}

/* Skills */
.skills-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.skill-category {
    background: rgba(51, 51, 51, 0.3);
    border-radius: 10px;
    padding: 30px;
    border: 1px solid var(--dark-gold);
}

.skill-list {
    list-style: none;
}

.skill-list li {
    margin-bottom: 15px;
    position: relative;
    padding-left: 30px;
}

.skill-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--gold);
    font-weight: bold;
}

/* Achievements */
.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.achievement-card {
    background: rgba(51, 51, 51, 0.3);
    border-radius: 10px;
    padding: 30px;
    border: 1px solid var(--dark-gold);
    text-align: center;
    transition: all 0.3s ease;
}

.achievement-card:hover {
    background: rgba(212, 175, 55, 0.1);
}

.achievement-icon {
    font-size: 40px;
    color: var(--gold);
    margin-bottom: 20px;
}

/* Contact */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-info {
    background: rgba(51, 51, 51, 0.3);
    border-radius: 10px;
    padding: 30px;
    border: 1px solid var(--dark-gold);
}

.contact-details {
    margin-top: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--dark-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: var(--black);
    font-size: 20px;
}

.contact-text {
    flex: 1;
}

.contact-form {
    background: rgba(51, 51, 51, 0.3);
    border-radius: 10px;
    padding: 30px;
    border: 1px solid var(--dark-gold);
}

.form-group {
    margin-bottom: 20px;
}

.form-control {
    width: 100%;
    padding: 14px;
    border-radius: 5px;
    border: 1px solid var(--gray);
    background: rgba(51, 51, 51, 0.5);
    color: var(--white);
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
}

.form-control:focus {
    outline: none;
    border-color: var(--gold);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

/* Footer */
footer {
    background: rgba(10, 10, 10, 0.95);
    padding: 40px 0 20px;
    border-top: 1px solid var(--dark-gold);
    text-align: center;
}

.footer-content {
    margin-bottom: 30px;
}

.social-links {
    display: flex;
    justify-content: center;
    list-style: none;
    margin: 20px 0;
}

.social-links li {
    margin: 0 10px;
}

.social-links a {
    display: block;
    width: 40px;
    height: 40px;
    background: var(--dark-gold);
    border-radius: 50%;
    color: var(--black);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-5px);
    background: var(--gold);
}

.copyright {
    color: var(--light-gold);
    font-size: 14px;
    margin-top: 20px;
}

.developer-credit {
    margin-top: 25px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 215, 0, 0.2);
    color: var(--light-gold);
    font-size: 0.9rem;
}

.developer-credit a {
    color: var(--gold);
    text-decoration: none;
    transition: all 0.3s ease;
}

.developer-credit a:hover {
    text-decoration: underline;
}

/* Certificate Links */
.certificate-link {
    display: inline-block;
    color: var(--light-gold);
    text-decoration: none;
    margin-top: 15px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 20px;
}

.certificate-link::before {
    content: '🔗';
    position: absolute;
    left: 0;
}

.certificate-link:hover {
    color: var(--gold);
    text-decoration: underline;
}

/* Document Preview */
.document-preview {
    background: rgba(51, 51, 51, 0.3);
    border-radius: 10px;
    padding: 15px;
    margin-top: 20px;
    border: 1px solid var(--dark-gold);
    text-align: center;
}

.document-preview a {
    color: var(--gold);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.document-preview a:hover {
    color: var(--light-gold);
    text-decoration: underline;
}

.document-preview a i {
    margin-right: 8px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 3.5rem;
    }
    
    .about-content,
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .about-text {
        padding-right: 0;
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 70px;
        right: -100%;
        flex-direction: column;
        background: rgba(10, 10, 10, 0.95);
        width: 250px;
        height: calc(100vh - 70px);
        padding: 30px;
        transition: right 0.3s ease;
        border-left: 1px solid var(--dark-gold);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links li {
        margin: 15px 0;
    }
    
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .hero h2 {
        font-size: 1.4rem;
    }
    
    .timeline::before {
        left: 31px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 20px;
    }
    
    .timeline-item:nth-child(even) {
        left: 0;
    }
    
    .timeline-item:nth-child(odd) .timeline-content::after,
    .timeline-item:nth-child(even) .timeline-content::after {
        left: 20px;
        top: 30px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .btn {
        padding: 12px 25px;
        display: block;
        margin: 10px auto;
        width: 90%;
        max-width: 300px;
    }
}
/* Hero Profile Section */
/* .hero .profile-container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 50px;
    padding-top: 80px;
} */

.profile-image {
    position: relative;
    width: 300px;
    height: 200px;
    transform: rotate(45deg);
    overflow: hidden;
    border: 5px solid var(--gold);
    box-shadow: 0 0 40px rgba(212, 175, 55, 0.6);
    transition: all 0.5s ease;
}

.profile-image:hover {
    transform: rotate(45deg) scale(1.05);
    box-shadow: 0 0 60px rgba(212, 175, 55, 0.8);
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: rotate(-45deg) scale(1.4);
}

.hero-text {
    max-width: 600px;
    text-align: left;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero .profile-container {
        flex-direction: column;
        text-align: center;
    }
    
    .profile-image {
        width: 250px;
        height: 250px;
    }
    
    .hero-text {
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
}

/* Gallery Page Specific Styles */
.journey-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 50px auto;
}

.timeline::before {
    content: '';
    position: absolute;
    width: 4px;
    background: var(--gold);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
}

.timeline-item {
    padding: 20px 40px;
    position: relative;
    width: 50%;
    box-sizing: border-box;
}

.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
    padding-right: 80px;
}

.timeline-item:nth-child(even) {
    left: 50%;
    padding-left: 80px;
}

.timeline-content {
    background: rgba(51, 51, 51, 0.3);
    padding: 30px;
    border-radius: 10px;
    border: 1px solid var(--dark-gold);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

.timeline-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
    margin: 15px 0;
    border: 2px solid var(--gold);
}

.timeline-date {
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 10px;
    display: block;
}

.timeline-content::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--gold);
    border-radius: 50%;
    top: 30px;
}

.timeline-item:nth-child(odd) .timeline-content::after {
    right: -60px;
}

.timeline-item:nth-child(even) .timeline-content::after {
    left: -60px;
}

@media (max-width: 768px) {
    .timeline::before {
        left: 31px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 20px;
        text-align: left !important;
    }
    
    .timeline-item:nth-child(even) {
        left: 0;
    }
    
    .timeline-item:nth-child(odd) .timeline-content::after,
    .timeline-item:nth-child(even) .timeline-content::after {
        left: 20px;
        top: 30px;
    }
}