/* Global Styles - Architectural Theme */
:root {
    --primary-color: #1a1a1a;
    --secondary-color: #c9a961;
    --accent-teal: #2c5f6f;
    --light-color: #f5f5f5;
    --dark-color: #1a1a1a;
    --text-color: #2d2d2d;
    --text-light: #666;
    --border-color: #d4af37;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.7;
    color: var(--text-color);
    letter-spacing: 0.3px;
    background-color: #fafafa;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', 'Georgia', serif;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

p {
    margin-bottom: 1.5rem;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.btn {
    display: inline-block;
    background-color: var(--secondary-color);
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: 2px solid var(--secondary-color);
    cursor: pointer;
    text-align: center;
}

.btn:hover {
    background-color: #b8954d;
    border-color: #b8954d;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(201, 169, 97, 0.3);
}

.btn-outline {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.95);
    color: var(--primary-color);
    border-color: var(--secondary-color);
}

.btn i {
    margin-right: 8px;
}

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

section {
    padding: 100px 0;
}

/* Navigation */
nav {
    position: fixed;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    z-index: 1000;
    border-bottom: 1px solid rgba(201, 169, 97, 0.2);
    backdrop-filter: blur(10px);
}

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

.logo {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--primary-color);
    letter-spacing: 3px;
    font-family: 'Playfair Display', serif;
    position: relative;
}

.logo::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--secondary-color);
}

.nav-links {
    display: flex;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    font-weight: 600;
    transition: color 0.3s ease;
}

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

.hamburger {
    font-size: 1.5rem;
    cursor: pointer;
    display: none;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), 
                url('https://source.unsplash.com/random/1920x1080?architecture') no-repeat center center/cover;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
    padding-top: 80px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Projects Section - Skills Grid */
.projects {
    background-color: #f9f9f9;
}

.projects h2, .about h2, .contact h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 15px;
}

.projects h2:after, .about h2:after, .contact h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--secondary-color), transparent);
}

.projects h2:before, .about h2:before, .contact h2:before {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background-color: var(--secondary-color);
    border-radius: 50%;
}

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

.skill-card {
    background-color: white;
    padding: 35px;
    border-radius: 0;
    text-align: center;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.4s ease;
    border-top: 3px solid transparent;
    position: relative;
    overflow: hidden;
}

.skill-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-teal));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.skill-card:hover::before {
    transform: scaleX(1);
}

.skill-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.skill-card i {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.skill-card h3 {
    margin-bottom: 15px;
    color: var(--dark-color);
    font-size: 1.3rem;
}

.skill-card p {
    color: var(--text-light);
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* About Section */
.about {
    background-color: white;
}

.about h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.about h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--secondary-color);
}

.about-intro {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.about-intro p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 20px;
}

/* Work Experience Section */
.experience {
    background-color: #f9f9f9;
}

.experience h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 15px;
}

.experience h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--secondary-color), transparent);
}

.experience h2:before {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background-color: var(--secondary-color);
    border-radius: 50%;
}

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

.experience-item {
    margin-bottom: 40px;
    padding: 35px;
    background-color: white;
    border-radius: 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
    border-left: 3px solid var(--secondary-color);
    transition: all 0.4s ease;
    position: relative;
}

.experience-item::before {
    content: '';
    position: absolute;
    left: -3px;
    top: 0;
    width: 3px;
    height: 0;
    background: linear-gradient(180deg, var(--secondary-color), var(--accent-teal));
    transition: height 0.4s ease;
}

.experience-item:hover::before {
    height: 100%;
}

.experience-item:hover {
    transform: translateX(8px);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.12);
}

.experience-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.experience-item h4 {
    color: var(--dark-color);
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.experience-item .company {
    color: var(--text-light);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0;
}

.experience-item .duration {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 0;
    white-space: nowrap;
    background-color: rgba(201, 169, 97, 0.1);
    padding: 8px 18px;
    border-radius: 0;
    border: 1px solid var(--secondary-color);
    letter-spacing: 0.5px;
}

.experience-item ul {
    list-style: none;
    padding-left: 0;
}

.experience-item li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 12px;
    color: var(--text-color);
    line-height: 1.6;
    font-size: 1rem;
}

.experience-item li:before {
    content: '▸';
    color: var(--secondary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
    font-size: 1.3rem;
}

/* Education Section */
.education-section {
    margin-top: 60px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.education-section h3 {
    color: var(--dark-color);
    font-size: 2rem;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.education-section h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--secondary-color), transparent);
}

.education-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
}

.education-item {
    padding: 30px;
    background-color: white;
    border-radius: 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
    border-top: 2px solid var(--secondary-color);
    transition: all 0.4s ease;
    position: relative;
}

.education-item::after {
    content: '';
    position: absolute;
    top: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-teal);
    transition: width 0.4s ease;
}

.education-item:hover::after {
    width: 100%;
}

.education-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.education-item h4 {
    color: var(--dark-color);
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.education-item .institution {
    color: var(--text-light);
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.education-item .year {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 0;
    font-size: 0.9rem;
}

/* Contact Section */
.contact {
    background-color: #f9f9f9;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
}

.contact-info h3 {
    margin-bottom: 20px;
    color: var(--dark-color);
}

.professional-details {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 2px solid rgba(201, 169, 97, 0.2);
}

.professional-details h4 {
    color: var(--dark-color);
    margin-bottom: 15px;
    font-size: 1.1rem;
    font-weight: 600;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    padding: 8px 0;
}

.service-item i {
    color: var(--secondary-color);
    font-size: 1rem;
    width: 20px;
    text-align: center;
}

.service-item span {
    color: var(--text-color);
    font-size: 0.95rem;
    line-height: 1.5;
}

.rate-info {
    margin-top: 30px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(201, 169, 97, 0.05), rgba(44, 95, 111, 0.05));
    border-left: 3px solid var(--secondary-color);
}

.rate-info h4 {
    color: var(--dark-color);
    margin-bottom: 12px;
    font-size: 1.1rem;
    font-weight: 600;
}

.hourly-rate {
    color: var(--secondary-color);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.hourly-rate i {
    font-size: 1.1rem;
}

.rate-note {
    color: var(--text-light);
    font-size: 0.85rem;
    font-style: italic;
    margin-bottom: 0;
}

.contact-info p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.contact-info i {
    margin-right: 10px;
    color: var(--secondary-color);
    width: 20px;
    text-align: center;
}

.languages {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #ddd;
}

.languages h4 {
    color: var(--dark-color);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.languages p {
    color: var(--text-color);
    margin-bottom: 0;
}


.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
}

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

.contact-form .btn {
    width: 100%;
    padding: 15px;
    font-size: 1rem;
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: white;
    text-align: center;
    padding: 20px 0;
}

footer p {
    margin: 0;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .skills-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .education-grid {
        grid-template-columns: 1fr;
    }
    
    .experience-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .experience-item .duration {
        align-self: flex-start;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: white;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: 0.3s;
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-links li {
        margin: 15px 0;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.2rem;
    }
    
    section {
        padding: 70px 0;
    }
}

@media (max-width: 576px) {
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero h2 {
        font-size: 1.3rem !important;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .projects h2, .about h2, .contact h2, .experience h2 {
        font-size: 2rem;
    }
    
    .skill-card {
        padding: 25px;
    }
    
    .skill-card i {
        font-size: 2.5rem;
    }
    
    .about-intro p {
        font-size: 1rem;
        text-align: left;
    }
    
    .experience-item {
        padding: 20px;
    }
    
    .experience-item h4 {
        font-size: 1.3rem;
    }
    
    .experience-item .company {
        font-size: 1rem;
    }
    
    .education-grid {
        grid-template-columns: 1fr;
    }
}
