/* ========================================
   RESET & BASE STYLES
   ======================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #2c3e50;
    background-color: #f8f9fa;
}

/* ========================================
   COLOR PALETTE (Professional/Corporate)
   ======================================== */

:root {
    --primary-dark: #1a3a52;      /* Deep Blue - Trust & Professionalism */
    --primary-light: #2c5aa0;     /* Professional Blue */
    --accent-gold: #d4af37;       /* Gold - Premium Feel */
    --accent-teal: #17a2b8;       /* Teal - Modern & Fresh */
    --text-dark: #2c3e50;         /* Dark Gray - Readability */
    --text-light: #7f8c8d;        /* Light Gray - Secondary Text */
    --bg-light: #f8f9fa;          /* Light Background */
    --bg-white: #ffffff;          /* Pure White */
    --border-color: #e1e8ed;      /* Light Border */
    --success: #27ae60;           /* Green - Positive */
    --shadow: 0 2px 8px rgba(26, 58, 82, 0.1);
    --shadow-lg: 0 8px 24px rgba(26, 58, 82, 0.15);
}

/* ========================================
   CONTAINER & LAYOUT
   ======================================== */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   HEADER & NAVIGATION
   ======================================== */

.header {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-light) 100%);
    color: var(--bg-white);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.logo h1 {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--accent-gold);
}

.logo .tagline {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 4px;
    font-weight: 300;
}

.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease, text-shadow 0.3s ease;
    position: relative;
}

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

.nav-link:hover {
    color: var(--accent-gold);
}

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

.contact-btn {
    background-color: var(--accent-gold);
    color: var(--primary-dark);
    border: none;
    padding: 10px 24px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
}

.contact-btn:hover {
    background-color: #e5c158;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.4);
}

.contact-btn:active {
    transform: translateY(0);
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-light) 100%);
    color: var(--bg-white);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(20px); }
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h2 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 18px;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.95);
}

.hero .subtitle {
    font-size: 16px;
    color: var(--accent-gold);
    font-weight: 500;
}

/* ========================================
   ABOUT SECTION
   ======================================== */

.about {
    padding: 80px 0;
    background-color: var(--bg-white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about h3 {
    font-size: 36px;
    color: var(--primary-dark);
    margin-bottom: 20px;
    font-weight: 700;
}

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

.features-list {
    list-style: none;
    margin: 20px 0;
}

.features-list li {
    padding: 12px 0;
    padding-left: 30px;
    position: relative;
    color: var(--text-dark);
    font-size: 15px;
}

.features-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: bold;
    font-size: 18px;
}

.highlight-box {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-light) 100%);
    color: var(--bg-white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
}

.highlight-box h4 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--accent-gold);
    font-weight: 700;
}

.highlight-box p {
    font-size: 15px;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.8;
}

.highlight-box strong {
    color: var(--accent-gold);
}

/* ========================================
   PORTFOLIO SECTION
   ======================================== */

.portfolio {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.section-title {
    font-size: 40px;
    color: var(--primary-dark);
    text-align: center;
    margin-bottom: 10px;
    font-weight: 700;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 50px;
}

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

.portfolio-item {
    background: var(--bg-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: translateY(0);
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.portfolio-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-white);
    font-size: 14px;
    text-align: center;
    padding: 20px;
    font-weight: 500;
}

.portfolio-content {
    padding: 30px;
}

.portfolio-title {
    font-size: 20px;
    color: var(--primary-dark);
    margin-bottom: 10px;
    font-weight: 700;
}

.portfolio-description {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.6;
}

.portfolio-buttons {
    display: flex;
    gap: 12px;
    justify-content: space-between;
}

.portfolio-btn {
    flex: 1;
    padding: 10px 16px;
    border: 2px solid var(--primary-dark);
    background: transparent;
    color: var(--primary-dark);
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    font-size: 13px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.portfolio-btn:hover {
    background-color: var(--primary-dark);
    color: var(--bg-white);
    transform: translateY(-2px);
}

.portfolio-btn.after {
    background-color: var(--accent-gold);
    border-color: var(--accent-gold);
    color: var(--primary-dark);
}

.portfolio-btn.after:hover {
    background-color: #e5c158;
    border-color: #e5c158;
}

/* ========================================
   CONTACT SECTION
   ======================================== */

.contact-section {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-light) 100%);
    color: var(--bg-white);
    text-align: center;
}

.contact-section.hidden {
    display: none;
}

.contact-content h3 {
    font-size: 32px;
    margin-bottom: 15px;
    font-weight: 700;
}

.contact-content p {
    font-size: 16px;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.95);
}

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

.phone-link {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 20px 40px;
    background-color: var(--accent-gold);
    color: var(--primary-dark);
    text-decoration: none;
    border-radius: 4px;
    font-size: 24px;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.phone-link:hover {
    background-color: #e5c158;
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(212, 175, 55, 0.4);
}

.phone-icon {
    font-size: 28px;
}

.phone-number {
    letter-spacing: 1px;
}

.contact-note {
    margin-top: 20px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
    background-color: var(--primary-dark);
    color: var(--bg-white);
    text-align: center;
    padding: 30px 0;
    font-size: 14px;
}

/* ========================================
   ANIMATIONS
   ======================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

.fade-in-left {
    animation: fadeInLeft 0.8s ease-out forwards;
    opacity: 0;
}

.fade-in-right {
    animation: fadeInRight 0.8s ease-out forwards;
    opacity: 0;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

/* Tablet (768px - 1024px) */
@media (max-width: 1024px) {
    .header-content {
        flex-direction: column;
        gap: 15px;
    }

    .nav-menu ul {
        gap: 20px;
    }

    .hero h2 {
        font-size: 36px;
    }

    .hero p {
        font-size: 16px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

/* Mobile (320px - 767px) */
@media (max-width: 767px) {
    .container {
        padding: 0 15px;
    }

    .header {
        padding: 15px 0;
    }

    .logo h1 {
        font-size: 22px;
    }

    .logo .tagline {
        font-size: 11px;
    }

    .nav-menu ul {
        flex-direction: row;
        gap: 8px;
        width: 100%;
        flex-wrap: wrap;
        justify-content: flex-end;
        align-items: center;
    }

    .nav-link {
        display: inline-block;
        padding: 4px 8px;
        font-size: 13px;
    }

    .nav-link::after {
        display: none;
    }

    .contact-btn {
        width: auto;
        padding: 6px 12px;
        font-size: 12px;
    }

    .hero {
        padding: 60px 0;
    }

    .hero h2 {
        font-size: 28px;
        margin-bottom: 15px;
    }

    .hero p {
        font-size: 15px;
    }

    .hero::before {
        width: 300px;
        height: 300px;
        top: -30%;
        right: -20%;
    }

    .about {
        padding: 50px 0;
    }

    .about h3 {
        font-size: 26px;
    }

    .about p {
        font-size: 15px;
    }

    .highlight-box {
        padding: 30px 20px;
    }

    .highlight-box h4 {
        font-size: 20px;
    }

    .portfolio {
        padding: 50px 0;
    }

    .section-title {
        font-size: 28px;
        margin-bottom: 8px;
    }

    .section-subtitle {
        font-size: 15px;
        margin-bottom: 30px;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .portfolio-image {
        height: 200px;
    }

    .portfolio-content {
        padding: 20px;
    }

    .portfolio-title {
        font-size: 18px;
    }

    .portfolio-description {
        font-size: 13px;
    }

    .contact-section {
        padding: 40px 0;
    }

    .contact-content h3 {
        font-size: 24px;
    }

    .contact-content p {
        font-size: 14px;
    }

    .phone-link {
        flex-direction: column;
        padding: 15px 30px;
        font-size: 20px;
    }

    .phone-icon {
        font-size: 24px;
    }

    .footer {
        padding: 20px 0;
        font-size: 12px;
    }
}

/* Extra Small Mobile (320px - 480px) */
@media (max-width: 480px) {
    .hero h2 {
        font-size: 24px;
    }

    .about h3 {
        font-size: 22px;
    }

    .section-title {
        font-size: 24px;
    }

    .portfolio-buttons {
        flex-direction: column;
    }

    .portfolio-btn {
        width: 100%;
    }
}
