/* Variables */
:root {
    --primary-color: #2C1810;
    --secondary-color: #FDF6F0;
    --gold: #C6A97C;
    --gold-bright: #D4AF37;
    --gold-deep: #B8860B;
    --warm-deep: #D4775E;
    --text-color: #33291F;
    --spacing: 5%;
}

/* Base Styles */
body, html {
    margin: 0;
    padding: 0;
    font-family: Helvetica, Arial, sans-serif;
    color: var(--text-color);
    height: 100%;
    scroll-behavior: smooth;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem var(--spacing);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    z-index: 1000;
    box-sizing: border-box;
}

.logo {
    font-weight: 700;
    font-size: 1.25rem;
    color: white;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: color 0.3s ease;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    color: white;
    font-size: 1.2rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-link:hover {
    color: var(--gold);
    transform: translateY(-3px);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 0 var(--spacing);
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.5) 0%,
        rgba(0, 0, 0, 0.3) 100%
    );
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    z-index: 1;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    background: linear-gradient(
        90deg,
        var(--gold) 0%,
        var(--warm-deep) 40%,
        var(--gold-bright) 70%,
        #FFD700 85%,
        #FFF000 100%
    );
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.3s;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 800;
    line-height: 1;
    margin: 0;
    margin-bottom: 1rem;
    position: relative;
    letter-spacing: -2px;
    font-family: 'Playfair Display', serif;
    text-transform: uppercase;
}

.hero-text {
    color: white;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.6s;
    position: relative;
    display: inline-block;
    padding: 0.5rem 1.5rem;
    border: 1px solid var(--gold);
    background-color: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(2px);
    font-size: 0.95rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 400;
}

.hero-text span {
    margin: 0 0.8rem;
    color: var(--gold-bright);
    font-weight: 300;
    font-size: 1rem;
}

.craft-bullets {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin: 1rem 0 1.5rem 0;
    padding: 0;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.9s;
}

.craft-bullets li {
    color: white;
    position: relative;
    padding-left: 1.2rem;
    font-size: 1rem;
    letter-spacing: 0.5px;
}

.craft-bullets li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--gold);
}

/* Section Styles */
.section-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-deep));
}

/* Portfolio Section */
.portfolio {
    padding: 5rem var(--spacing);
    background-color: var(--secondary-color);
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.project-card {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    border-radius: 8px;
    background: linear-gradient(45deg, var(--gold), var(--gold-deep));
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid var(--gold-deep);
    opacity: 0;
    transform: translateY(50px);
    cursor: pointer;
}

.project-card.visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.project-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
}

.project-card:nth-child(1) {
    transition-delay: 0.1s;
}

.project-card:nth-child(2) {
    transition-delay: 0.3s;
}

.project-card:nth-child(3) {
    transition-delay: 0.5s;
}

.project-card:nth-child(4) {
    transition-delay: 0.7s;
}

.project-card:nth-child(5) {
    transition-delay: 0.9s;
}

.project-card:nth-child(6) {
    transition-delay: 1.1s;
}

.project-card:nth-child(7) {
    transition-delay: 1.3s;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: none;
}

.project-card:hover img {
    transform: scale(1.05);
}

.project-info {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 1.5rem;
    background-color: rgba(0, 0, 0, 0.1);
    color: white;
    display: flex;
    flex-direction: column;
}

.project-info h3 {
    color: white;
    margin: 0;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.project-info p {
    margin: 0;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    flex-grow: 1;
}

.project-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: auto;
}

.project-tags span {
    font-size: 0.7rem;
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.2rem 0.5rem;
    border-radius: 3px;
    display: inline-block;
}



/* Client Section Styles */
.clients {
    padding: 5rem var(--spacing);
    background-color: #f9f9f9; /* Slightly different from other sections for visual separation */
}

.clients-container {
    max-width: 1200px;
    margin: 0 auto;
}

.client-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.client-card {
    position: relative;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    opacity: 0;
    transform: translateY(30px);
}

.client-card.visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.client-card:nth-child(1) {
    transition-delay: 0.1s;
}

.client-card:nth-child(2) {
    transition-delay: 0.3s;
}

.client-card:nth-child(3) {
    transition-delay: 0.5s;
}

.client-card:nth-child(4) {
    transition-delay: 0.7s;
}

.client-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.12);
}

.client-logo {
    padding: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 120px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    background-color: white;
}

.client-logo img {
    max-width: 100%;
    max-height: 100px;
    object-fit: contain;
}

.client-info {
    padding: 1.5rem;
}

.client-info h3 {
    margin: 0 0 0.5rem 0;
    color: var(--primary-color);
    font-size: 1.25rem;
}

.client-info p {
    margin: 0 0 1rem 0;
    color: var(--text-color);
    font-size: 0.95rem;
    line-height: 1.5;
}

.client-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.client-tags span {
    font-size: 0.7rem;
    background-color: rgba(198, 169, 124, 0.1);
    color: var(--gold-deep);
    padding: 0.2rem 0.5rem;
    border-radius: 3px;
    display: inline-block;
}

.client-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    cursor: pointer;
}

/* Testimonials Section */
.testimonials-preview {
    margin-top: 3rem;
    padding: 2rem;
    background-color: #f9f9f9;
    border-radius: 8px;
}

.testimonials-title {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.testimonials-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--gold), var(--gold-deep));
}

.testimonials-coming-soon {
    display: flex;
    justify-content: center;
    padding: 2rem 0;
}

.coming-soon-message {
    text-align: center;
    font-style: italic;
    color: #777;
    max-width: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.coming-soon-message i {
    color: var(--gold);
    font-size: 1.5rem;
    opacity: 0.8;
}

.coming-soon-message p {
    font-size: 1.2rem;
    margin: 0;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .client-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    }
}

@media (max-width: 768px) {
    .testimonial-slider {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .client-grid {
        grid-template-columns: 1fr;
    }
    
    .client-logo {
        height: 100px;
    }
}






/* About Section */
.about {
    padding: 5rem var(--spacing);
    background-color: white;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
}

.about-content {
    display: flex;
    gap: 4rem;
    margin-top: 3rem;
}

.about-text {
    flex: 3;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.about-image {
    flex: 2;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.image-container {
    position: relative;
    max-width: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.image-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom right,
        rgba(198, 169, 124, 0.2),
        rgba(212, 175, 55, 0.1)
    );
    z-index: 1;
}

.image-container img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.image-container:hover img {
    transform: scale(1.02);
}

.skills-container {
    margin-top: 2rem;
}

.skills-container h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.skills-container h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--gold), var(--gold-deep));
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.skill-category h4 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(198, 169, 124, 0.3);
}

.skill-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.skill-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.skill-list li::before {
    content: '\f105';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--gold-deep);
}

/* Contact Section */
/* Contact Section */
.contact {
    padding: 5rem var(--spacing);
    background-color: #FDF8F3; /* Light warm beige background */
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
}

.contact-content {
    display: flex;
    margin-top: 2rem;
}

.contact-left {
    flex: 1;
    padding-right: 3rem;
}

.contact-right {
    flex: 1;
}

.contact-intro {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: var(--text-color);
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
}

.contact-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.contact-icon {
    margin-bottom: 1rem;
}

.contact-icon i {
    font-size: 2rem;
    color: var(--gold-deep);
}

.contact-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.contact-card p, .contact-card a {
    color: var(--text-color);
    text-decoration: none;
}

.contact-social {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 0.5rem;
}

.contact-social a {
    font-size: 1.5rem;
    color: var(--gold-deep);
    transition: transform 0.2s ease;
}

.contact-social a:hover {
    transform: translateY(-3px);
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.contact-card p {
    text-align: center;
}

.contact-card a {
    display: inline-block;
    word-break: break-all;
    max-width: 100%;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #E5E5E5;
    border-radius: 4px;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
}

.submit-button {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(90deg, #C6A97C, #B8860B);
    color: white;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-button:hover {
    background: linear-gradient(90deg, #B8860B, #C6A97C);
}

/* Responsive */
@media (max-width: 992px) {
    .contact-content {
        flex-direction: column;
        gap: 3rem;
    }
    
    .contact-left {
        padding-right: 0;
    }
}

@media (max-width: 768px) {
    .contact-cards {
        grid-template-columns: 1fr;
    }
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: white;
    padding: 2rem var(--spacing);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--gold);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.visible {
    opacity: 1;
    display: block;
}

.modal-content {
    background-color: var(--secondary-color);
    margin: 5% auto;
    padding: 2rem;
    width: 80%;
    max-width: 800px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transform: translateY(-50px);
    transition: transform 0.3s ease;
}

.modal.visible .modal-content {
    transform: translateY(0);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
    padding-bottom: 1rem;
}

.modal-header h2 {
    margin: 0;
    color: var(--primary-color);
}

.close-button {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #777;
}

.close-button:hover {
    color: #333;
}

.modal-section {
    margin-bottom: 1.5rem;
}

.modal-section h3 {
    color: var(--gold-deep);
    margin-bottom: 0.5rem;
    border-bottom: 1px solid rgba(198, 169, 124, 0.3);
    padding-bottom: 0.3rem;
}

.modal-section ul {
    padding-left: 1.5rem;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-tags span {
    background-color: rgba(198, 169, 124, 0.2);
    color: var(--primary-color);
    padding: 0.3rem 0.7rem;
    border-radius: 4px;
    font-size: 0.9rem;
}

.view-link {
    display: inline-block;
    background: linear-gradient(90deg, var(--gold), var(--gold-deep));
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 0.5rem;
    transition: all 0.3s ease;
}

.view-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Responsive */
@media (max-width: 992px) {
    .contact-content,
    .about-content {
        flex-direction: column;
        gap: 3rem;
    }
    
    .contact-left, 
    .contact-right,
    .about-image {
        flex: auto;
        width: 100%;
    }
    
    .about-image {
        order: -1;
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .project-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-content {
        width: 95%;
        padding: 1rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
    
    .craft-bullets {
        flex-direction: column;
        gap: 0.5rem;
    }
}