/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Base Styles & Variables */
:root {
    --primary: #ffffff;
    --secondary: #b3b3b3;
    --background: #0a0a0a;
    --background-dark: #050505;
    --accent: #b8860b;
    --spacing-unit: 2rem;
    --max-width: 1200px;
    --border-radius: 4px;
    --transition: all 0.3s ease;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 62.5%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', sans-serif;
    font-size: 1.6rem;
    line-height: 1.6;
    color: var(--primary);
    background-color: var(--background);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-unit);
}

section {
    padding: 8rem 0;
}

.section {
    position: relative;
    overflow: hidden;
}

.bg-dark {
    background-color: var(--background-dark);
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--accent);
}

img {
    max-width: 100%;
    height: auto;
}

/* Typography */
.section-title {
    font-size: 2.4rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--accent);
    margin-bottom: 4rem;
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 5rem;
    height: 2px;
    background-color: var(--accent);
}

.subtitle {
    text-align: center;
    color: var(--secondary);
    margin-bottom: 4rem;
    font-size: 1.4rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

/* Loading Animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--accent);
    color: var(--background);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(184, 134, 11, 0.4);
}

/* Hero Section */
.hero {
    position: relative;
    overflow: hidden;
    animation: fadeIn 1s ease-out;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.8)), url('https://images.unsplash.com/photo-1533134242443-9a7f9f7718de?ixlib=rb-4.0.3&auto=format&fit=crop&w=1950&q=80') no-repeat center center/cover;
}

.hero h1 {
    font-size: 5.6rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.1;
    animation: fadeIn 1s ease-out 0.2s both;
}

.hero .title {
    animation: fadeIn 1s ease-out 0.4s both;
}

.hero .cta-button {
    animation: fadeIn 1s ease-out 0.6s both;
}

.hero .title {
    font-size: 1.8rem;
    color: var(--secondary);
    margin-bottom: 3rem;
    font-weight: 400;
    letter-spacing: 0.1em;
}

/* Buttons */
.cta-button {
    display: inline-block;
    padding: 1.2rem 3rem;
    background-color: transparent;
    color: var(--primary);
    border: 1px solid var(--accent);
    border-radius: 30px;
    font-size: 1.4rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: var(--accent);
    transition: var(--transition);
    z-index: -1;
}

.cta-button:hover {
    color: var(--background);
    border-color: var(--accent);
}

.cta-button:hover::before {
    width: 100%;
}

/* Video Section */
.video-container {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

.video-placeholder {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    background-color: #111;
    margin-bottom: 2rem;
    overflow: hidden;
}

.video-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 6rem;
    color: var(--primary);
    opacity: 0.8;
    transition: var(--transition);
    cursor: pointer;
}

.video-overlay:hover {
    color: var(--accent);
    transform: translate(-50%, -50%) scale(1.1);
}

.caption {
    text-align: center;
    color: var(--secondary);
    font-size: 1.4rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* About Section */
.about-grid {
    display: grid;
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.about-intro {
    max-width: 800px;
    margin: 0 auto 2rem;
}

.section-title {
    font-size: 2.8rem;
    color: var(--primary);
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 400;
    position: relative;
    display: inline-block;
    padding-bottom: 1rem;
}

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

.about-intro .lead {
    font-size: 1.8rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 3rem;
    font-weight: 300;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.about-content {
    font-size: 1.6rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
    max-width: 800px;
    margin: 0 auto 4rem;
    font-weight: 300;
}

.about-content p {
    margin-bottom: 2rem;
}

.about-highlight {
    color: var(--accent);
    font-weight: 400;
}

.about-divider {
    width: 100px;
    height: 2px;
    background: rgba(184, 134, 11, 0.3);
    margin: 3rem auto;
    border: none;
}

/* Expertise Section */
.expertise-section {
    margin-top: 4rem;
    padding-top: 4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.expertise-item {
    background: rgba(255, 255, 255, 0.02);
    padding: 2.5rem 2rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.03);
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
}

.expertise-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.expertise-item:hover {
    background: rgba(184, 134, 11, 0.03);
    transform: translateY(-5px) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.expertise-icon {
    font-size: 2.8rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 70px;
    height: 70px;
    background: rgba(184, 134, 11, 0.1);
    border-radius: 50%;
    margin: 0 auto 2rem;
    transition: all 0.3s ease;
}

.expertise-item:hover .expertise-icon {
    background: var(--accent);
    color: #000;
    transform: rotate(5deg) scale(1.1);
}

.expertise-item h3 {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 1.2rem;
    font-weight: 400;
    letter-spacing: 0.05em;
}

.expertise-item p {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
    margin: 0;
    font-weight: 300;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .expertise-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .about-intro .lead {
        font-size: 1.7rem;
        padding: 0 2rem;
    }
    
    .about-content {
        padding: 0 2rem;
        font-size: 1.5rem;
    }
    
    .expertise-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .section-title {
        font-size: 2.4rem;
    }
}

/* Brands Section */
.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 2rem;
    align-items: center;
    margin-top: 4rem;
}

.brand-logo {
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    border: 1px solid #222;
    transition: var(--transition);
    padding: 0.5rem;
    text-align: center;
    line-height: 1.2;
    background: rgba(20, 20, 20, 0.5);
}

.brand-logo:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(184, 134, 11, 0.2);
}

/* Skills Section */
.skill-progress {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    margin-top: 1rem;
    overflow: hidden;
}

.skill-progress-bar {
    height: 100%;
    background: var(--accent);
    width: 0;
    transition: width 1.5s ease-out;
    border-radius: 3px;
}

.skill-category {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
}

.skill-category.visible {
    opacity: 1;
    transform: translateY(0);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 4rem;
    margin-top: 4rem;
}

.skill-category {
    text-align: center;
}

.skill-category h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

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

.skill-category li {
    margin-bottom: 1rem;
    color: var(--secondary);
    font-size: 1.6rem;
}

/* Projects Section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.project-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    transition: var(--transition);
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.project-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.project-card:nth-child(2) { transition-delay: 0.2s; }
.project-card:nth-child(3) { transition-delay: 0.4s; }

.project-card:hover {
    transform: translateY(-5px);
}

.project-image {
    width: 100%;
    height: 250px;
    background-color: #111;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.project-card:hover .project-image {
    opacity: 0.8;
}

.project-card h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.project-card p {
    color: var(--secondary);
    font-size: 1.4rem;
}

/* Contact Section */
.contact-subtitle {
    text-align: center;
    color: var(--secondary);
    font-size: 1.6rem;
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: rgba(184, 134, 11, 0.05);
    border-color: rgba(184, 134, 11, 0.1);
    transform: translateY(-2px);
}

.contact-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(184, 134, 11, 0.1);
    border-radius: 8px;
    color: var(--accent);
    font-size: 1.6rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.contact-details {
    display: flex;
    flex-direction: column;
}

.contact-label {
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
    margin-bottom: 0.3rem;
}

.contact-item a {
    color: var(--secondary);
    text-decoration: none;
    font-size: 1.5rem;
    transition: color 0.2s ease;
}

.contact-item a:hover {
    color: var(--accent);
}

/* Social Section */
.social-section {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    padding: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    align-self: flex-start;
}

.social-section h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: var(--primary);
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
}

.social-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: var(--accent);
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    color: var(--secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(255, 255, 255, 0.02);
}

.social-link:hover {
    background: rgba(184, 134, 11, 0.05);
    border-color: rgba(184, 134, 11, 0.1);
    transform: translateX(5px);
}

.social-link i, .social-link .x-logo {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
}

.x-logo {
    fill: currentColor;
}

.social-link span {
    font-size: 1.4rem;
    font-weight: 500;
}

/* Responsive */
@media (max-width: 900px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .social-section {
        max-width: 400px;
        margin: 0 auto;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .contact-item {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    
    .contact-details {
        align-items: center;
    }
    
    .contact-icon {
        margin-bottom: 1rem;
    }
}

/* Footer */
.footer {
    padding: 4rem 0;
    text-align: center;
    background-color: var(--background-dark);
    color: #555;
    font-size: 1.4rem;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 4.8rem;
    }
    
    .brands-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --spacing-unit: 1.5rem;
    }
    
    .hero h1 {
        font-size: 4rem;
    }
    
    .hero .title {
        font-size: 1.6rem;
    }
    
    .section {
        padding: 6rem 0;
    }
    
    .brands-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 3.2rem;
    }
    
    .hero .title {
        font-size: 1.4rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .about-content {
        font-size: 1.6rem;
    }
    
    .contact-info p {
        font-size: 1.6rem;
    }
    
    .brands-grid {
        grid-template-columns: 1fr;
    }
}
