/* ================================
   CSS VARIABLES & RESET
   ================================ */

:root {
    --primary-color: #1a1a1a;
    --secondary-color: #ffffff;
    --accent-color: #d4af37;
    --text-dark: #333333;
    --text-light: #666666;
    --border-color: #e0e0e0;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    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: var(--text-dark);
    background-color: var(--secondary-color);
}

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

/* ================================
   TYPOGRAPHY
   ================================ */

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

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

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

/* ================================
   BUTTONS
   ================================ */

.btn {
    padding: 12px 30px;
    border: 2px solid var(--accent-color);
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-block;
    text-decoration: none;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--primary-color);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--accent-color);
}

.btn-secondary {
    background-color: transparent;
    color: var(--accent-color);
    border-color: var(--accent-color);
}

.btn-secondary:hover {
    background-color: var(--accent-color);
    color: var(--primary-color);
}

/* ================================
   NAVBAR
   ================================ */

.navbar {
    background-color: var(--primary-color);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo-text {
    color: var(--accent-color);
    font-size: 1.5rem;
    font-weight: 700;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--secondary-color);
    font-weight: 600;
    transition: var(--transition);
    position: relative;
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--accent-color);
    margin: 5px 0;
    transition: var(--transition);
}

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

.hero {
    min-height: 100vh;
    background: linear-gradient(rgba(26, 26, 26, 0.7), rgba(26, 26, 26, 0.7)), 
                url('../images/hero-bg.jpg') center/cover no-repeat fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background-attachment: fixed;
    animation: parallaxShift 15s ease-in-out infinite;
}

.hero-content {
    text-align: center;
    color: var(--secondary-color);
    z-index: 2;
    max-width: 800px;
    padding: 20px;
    animation: fadeInUp 1s ease;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: #ccc;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 26, 26, 0.4);
    z-index: 1;
}

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

@keyframes parallaxShift {
    0%, 100% {
        background-position: center 0px;
    }
    50% {
        background-position: center 20px;
    }
}

/* ================================
   SECTIONS
   ================================ */

section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 3rem;
}

/* ================================
   SERVICES SECTION
   ================================ */

.services {
    background-color: #f9f9f9;
}

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

.service-card {
    background-color: var(--secondary-color);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-top: 4px solid var(--accent-color);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.service-image {
    width: calc(100% + 4rem);
    height: 250px;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
    margin: -2rem -2rem 1rem -2rem;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-card h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.service-card p {
    color: var(--text-light);
    line-height: 1.8;
}

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

.about {
    background-color: var(--secondary-color);
    padding: 100px 0;
}

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

.about-title {
    font-size: 3rem;
    margin-bottom: 2rem;
    color: var(--accent-color);
    text-align: center;
}

.about-content {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    margin-bottom: 3rem;
    backdrop-filter: blur(10px);
}

.about-paragraph {
    margin-bottom: 1.5rem;
    line-height: 2;
    color: #ffffff;
    font-size: 1.05rem;
    text-align: center;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.stat {
    text-align: center;
    padding: 1.5rem;
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat h3 {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.stat p {
    color: #ffffff;
    margin: 0;
    font-weight: 500;
}

/* ================================
   TEAM SECTION
   ================================ */

.team {
    background-color: #f9f9f9;
}

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

.team-card {
    background-color: var(--secondary-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.team-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.team-info {
    padding: 2rem;
    text-align: center;
}

.team-info h3 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.role {
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.bio {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

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

.portfolio {
    background-color: #f9f9f9;
}

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

.portfolio-card {
    background-color: var(--secondary-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.portfolio-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.portfolio-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    transition: var(--transition);
}

.portfolio-card:hover img {
    transform: scale(1.05);
}

.portfolio-info {
    padding: 2rem;
}

.portfolio-info h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.portfolio-info p {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.portfolio-tag {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--secondary-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* ================================
   GALLERY SECTION
   ================================ */

.gallery {
    background-color: var(--secondary-color);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    height: 300px;
    box-shadow: var(--shadow);
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(212, 175, 55, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay p {
    color: var(--secondary-color);
    font-size: 1.3rem;
    font-weight: 600;
    text-align: center;
}

/* ================================
   MAP SECTION
   ================================ */

.map-section {
    background-color: #f9f9f9;
    padding: 4rem 0;
}

.map-container {
    margin: 2rem 0 3rem 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

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

.map-card {
    background-color: var(--secondary-color);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.map-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.map-card i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.map-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.map-card p {
    color: var(--text-light);
    line-height: 1.8;
}

.map-card a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.map-card a:hover {
    text-decoration: underline;
}

/* ================================
   PRICING SECTION
   ================================ */

.pricing {
    background-color: var(--secondary-color);
}

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

.pricing-card {
    background-color: #f9f9f9;
    padding: 2.5rem;
    border-radius: 8px;
    text-align: center;
    border: 2px solid #e0e0e0;
    transition: var(--transition);
}

.pricing-card.featured {
    border-color: var(--accent-color);
    background-color: var(--primary-color);
    color: var(--secondary-color);
    transform: scale(1.05);
}

.pricing-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.pricing-card.featured h3 {
    color: var(--accent-color);
}

.price {
    font-size: 2rem;
    color: var(--accent-color);
    font-weight: 700;
    margin-bottom: 2rem;
}

.features {
    list-style: none;
    margin-bottom: 2rem;
}

.features li {
    padding: 0.75rem 0;
    color: var(--text-light);
    border-bottom: 1px solid #e0e0e0;
}

.pricing-card.featured .features li {
    color: #ccc;
    border-bottom-color: #444;
}

.features i {
    color: var(--accent-color);
    margin-right: 0.5rem;
}

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

.contact {
    background-color: #f9f9f9;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-form {
    background-color: var(--secondary-color);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 4px;
    display: none;
    text-align: center;
    font-weight: 600;
}

.form-message.success {
    display: block;
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    display: block;
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.info-card {
    background-color: var(--secondary-color);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: var(--shadow);
}

.info-card i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.info-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.info-card p {
    color: var(--text-light);
    margin: 0;
    line-height: 1.6;
}

.info-card a {
    color: var(--accent-color);
    font-weight: 600;
}

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

.footer {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.footer-section {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid var(--accent-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.footer-section h4 {
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.footer-section a {
    color: #e8e8e8;
    transition: var(--transition);
    font-weight: 500;
    display: inline-block;
}

.footer-section a:hover {
    color: var(--accent-color);
    transform: translateX(5px);
}

.footer-section p {
    color: #d0d0d0;
    margin: 0;
    line-height: 1.8;
    font-size: 0.95rem;
}

.footer-bottom {
    text-align: center;
    padding: 2.5rem 20px;
    border-top: 2px solid #444;
    color: #b0b0b0;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-bottom p {
    margin: 0;
    line-height: 1.8;
}

.footer-bottom a {
    color: var(--accent-color);
    font-weight: 600;
    transition: var(--transition);
}

.footer-bottom a:hover {
    text-decoration: underline;
}

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

@media (min-width: 769px) {
    .nav-toggle {
        display: none;
    }

    .nav-menu {
        position: static;
        left: auto;
        flex-direction: row;
        background-color: transparent;
        width: auto;
        padding: 0;
        display: flex;
    }

    .nav-link {
        display: inline-block;
        padding: 0;
        border-bottom: none;
    }
}

@media (max-width: 768px) {
    /* Navigation */
    .nav-toggle {
        display: flex !important;
    }

    .nav-menu {
        position: absolute !important;
        top: 70px !important;
        left: -100% !important;
        flex-direction: column !important;
        background-color: var(--primary-color) !important;
        width: 100% !important;
        text-align: center !important;
        transition: var(--transition) !important;
        padding: 2rem 0 !important;
    }

    .nav-menu.active {
        left: 0 !important;
    }

    .nav-link {
        display: block !important;
        padding: 1rem !important;
        border-bottom: 1px solid #333 !important;
    }

    /* Hero Section */
    .hero-title {
        font-size: 1.5rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

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

    .btn {
        width: 100%;
    }

    /* Sections */
    .section-title {
        font-size: 1.5rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card.featured {
        transform: scale(1);
    }

    /* About Section */
    .about-title {
        font-size: 2rem;
    }

    .about-content {
        padding: 2rem;
    }

    .about-paragraph {
        font-size: 1rem;
    }

    .about-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Contact Section */
    .contact-content {
        grid-template-columns: 1fr;
    }

    .contact-info {
        grid-template-columns: 1fr;
    }

    /* Portfolio Section */
    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    /* Gallery Section */
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-item {
        height: 200px;
    }

    /* Map Section */
    .map-info {
        grid-template-columns: 1fr;
    }

    .map-container iframe {
        height: 300px !important;
    }

    /* Footer */
    .footer-section {
        padding: 1.5rem;
    }
}
