/* CSS Custom Properties */
:root {
    --primary-black: #000000;
    --primary-white: #ffffff;
    --accent-gold: #FFD700;
    --dark-gold: #B8860B;
    --text-gray: #333333;
    --light-gray: #f8f9fa;
    --border-gray: #e9ecef;
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Source Sans Pro', sans-serif;
    
    --transition: all 0.3s ease;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text-gray);
    background-color: var(--primary-white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 0.65rem;
    margin-top: 0.65rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

p {
    margin-bottom: 1rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary-black);
    color: var(--primary-white);
    border-color: var(--accent-gold);
}

.btn-primary:hover {
    background-color: var(--accent-gold);
    color: var(--primary-black);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background-color: var(--primary-white);
    color: var(--primary-black);
    border-color: var(--primary-black);
}

.btn-secondary:hover {
    background-color: var(--primary-black);
    color: var(--primary-white);
    border-color: var(--accent-gold);
}

/* Header */
.header {
    background-color: var(--primary-white);
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

/* Logo styles - improved alignment */
.logo {
    display: flex;
    align-items: center;
    text-align: left;
    gap: 10px;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
    gap: 10px;
}

.logo h1 {
    font-size: 2.2rem;
    color: var(--primary-black);
    margin-bottom: 0;
    margin-left: 0;
    line-height: 1.1;
}

.logo h3 {
    font-size: 1.8rem;
    color: var(--accent-gold);
    margin-bottom: 0;
    margin-left: 0;
    line-height: 1.1;
}

.logo p {
    font-size: 0.9rem;
    color: var(--dark-gold);
    margin-bottom: 0;
    font-style: normal;
    margin-left: 0;
    line-height: 1.1;
}

.logo-image {
    height: 60px;
    width: auto;
    margin-right: 0;
    margin-top: 8px;
    vertical-align: middle;
    flex-shrink: 0;
}

.logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
}

.logo-text h1,
.logo-text h3 {
    margin-bottom: 0;
    line-height: 1.1;
}

.logo-text p {
    margin-bottom: 0;
    line-height: 1.1;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-gray);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    outline: none;
}

.nav-link:hover,
.nav-link.active {
    color: var(--dark-gold);
}

.nav-link:focus {
    outline: none;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-black);
    margin: 3px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    min-height: 90vh;
    padding: 80px 20px 50px;
    max-width: 1200px;
    margin: 0 auto;
    gap: 3rem;
    /* background: linear-gradient(120deg, #fffbe6 0%, #fff 60%, #fffbe6 100%); */
    position: relative;
    border-radius: 0 0 40px 40px;
    box-shadow: 0 8px 32px rgba(184, 134, 11, 0.08);
}

.hero-content {
    flex: 1;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 4.2rem;
    color: var(--primary-black);
    margin-bottom: 1.2rem;
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: -1px;
    position: relative;
    text-shadow: 0 2px 8px rgba(255, 215, 0, 0.08);
}

.hero-title::after {
    content: "";
    display: block;
    width: 80px;
    height: 6px;
    /* background: linear-gradient(90deg, var(--accent-gold), var(--dark-gold)); */
    border-radius: 3px;
    margin-top: 18px;
    margin-bottom: 10px;
}

.hero-subtitle {
    font-size: 1.6rem;
    color: var(--dark-gold);
    margin-bottom: 2.5rem;
    line-height: 1.7;
    font-weight: 500;
    text-shadow: 0 1px 4px rgba(255, 215, 0, 0.07);
}

.hero-buttons {
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.hero-image {
    flex: 1;
    max-width: 500px;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: none;
}

/* About Section */
.about {
    padding: 60px 0;
    background-color: var(--light-gray);
    padding-top: 30px;
    padding-bottom: 30px;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.about-text {
    flex: 1;
}

.about-text h2 {
    color: var(--primary-black);
    margin-bottom: 1.5rem;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.trust-indicators {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.indicator {
    text-align: center;
}

.indicator .number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-gold);
    font-family: var(--font-heading);
}

.indicator .label {
    font-size: 0.9rem;
    color: var(--text-gray);
    font-weight: 500;
}

.about-image {
    flex: 1;
    max-width: 400px;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: none;
}

/* Section Titles */
.section-title {
    text-align: center;
    color: var(--primary-black);
    margin-bottom: 0.65rem;
    margin-top: 0.65rem;
}

.section-subtitle {
    text-align: center;
    color: var(--text-gray);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    margin-top: 0.5rem;
}

/* Services Section */
.services {
    padding: 60px 0;
    padding-top: 30px;
    padding-bottom: 30px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--primary-white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent-gold);
}

.service-card .service-icon,
.service-card .service-link {
    text-align: left;
}

.service-card h3 {
    text-align: left;
    color: var(--primary-black);
    margin-bottom: 1rem;
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-card p {
    margin-bottom: 1rem;
    color: var(--text-gray);
}

.service-card ul {
    list-style-type: disc;
    margin-left: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-gray);
    text-align: left !important;
}

.service-card ul li {
    margin-bottom: 0.5rem;
    line-height: 1.4;
    text-align: left !important;
}

.service-card ul ul {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    list-style-type: circle;
    text-align: left !important;
}

.service-card ul ul li {
    margin-bottom: 0.25rem;
    text-align: left !important;
}

.service-card .service-link {
    text-align: left !important;
    display: inline-block;
}

.service-card a.service-link {
    text-align: left !important;
    display: inline-block;
    float: left;
}

.service-link {
    color: var(--dark-gold);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    text-align: left !important;
    display: inline-block;
}

.service-link:hover {
    color: var(--accent-gold);
}

/* Team Section */
.team {
    padding: 60px 0;
    background-color: var(--light-gray);
    padding-top: 30px;
    padding-bottom: 30px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.team-card {
    background: var(--primary-white);
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    overflow: hidden;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.team-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    border-radius: 10px 10px 0 0;
    background-color: #f5f5f5;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.team-info {
    padding: 1.5rem;
    background: var(--primary-white);
}

.team-info h3 {
    color: var(--primary-black);
    margin-bottom: 0.5rem;
}

.team-title {
    color: var(--dark-gold);
    font-weight: 600;
    margin-bottom: 1rem;
}

.team-details p {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.team-details ul {
    margin: 0.5rem 0 1rem 1.5rem;
    padding-left: 0;
}

.team-details ul li {
    margin-bottom: 0.3rem;
    font-size: 0.9rem;
    color: var(--text-gray);
}

/* Contact Section */
.contact {
    padding: 80px 0;
    padding-top: 30px;
    padding-bottom: 30px;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-form {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: 10px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--primary-black);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--border-gray);
    border-radius: 5px;
    font-size: 1rem;
    transition: var(--transition);
    font-family: var(--font-body);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-gold);
}

.contact-info h3 {
    color: var(--primary-black);
    margin-bottom: 1.5rem;
}

.contact-item {
    margin-bottom: 1.5rem;
}

.contact-item strong {
    color: var(--primary-black);
    display: block;
    margin-bottom: 0.5rem;
}

.contact-item strong b {
    color: #B8860B;
}

.contact-item a {
    color: var(--dark-gold);
    text-decoration: none;
}

.contact-item a:hover {
    color: var(--accent-gold);
}

.city-name {
    color: var(--primary-black) !important;
    font-weight: 600;
}

.map-container {
    margin-top: 2rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 2px solid var(--border-gray);
}

.map-container iframe {
    display: block;
    width: 100%;
    border-radius: 8px;
}

.map-placeholder {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    border: 2px dashed var(--border-gray);
}

.map-placeholder p:first-child {
    font-size: 2rem;
    margin-bottom: 1rem;
}

/* Footer */
.footer {
    background-color: var(--primary-black);
    color: var(--primary-white);
    padding: 50px 0 20px;
    padding-top: 30px;
    padding-bottom: 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    color: var(--accent-gold);
    margin-bottom: 1rem;
}

/* Footer logo specific styles */
.footer .logo {
    margin-bottom: 1rem;
}

.footer .logo-image {
    height: 50px;
    margin-top: 6px;
}

.footer .logo-text h3 {
    color: var(--accent-gold);
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.footer .logo-text p {
    color: var(--primary-white);
    font-size: 0.9rem;
    margin-bottom: 0;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: var(--primary-white);
    text-decoration: none;
    transition: var(--transition);
    outline: none;
}

.footer-section ul li a:hover {
    color: var(--accent-gold);
}

.footer-section ul li a:focus {
    outline: none;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 1rem;
    text-align: center;
    font-size: 0.9rem;
    color: #ccc;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .logo h1 {
        font-size: 2.0rem;
    }
    
    .logo h3 {
        font-size: 1.6rem;
    }
    
    .logo p {
        font-size: 0.85rem;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--primary-white);
        width: 100%;
        text-align: center;
        transition: var(--transition);
        box-shadow: var(--shadow);
        padding: 2rem 0;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    /* Improve footer link styling for mobile */
    .footer-section ul li a {
        display: block;
        padding: 8px 0;
        font-size: 1rem;
    }
    
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 100px 10px 40px;
    }
    
    .hero-title {
        font-size: 2.7rem;
    }
    
    .hero-title::after {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-subtitle {
        font-size: 1.15rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .about-content {
        flex-direction: column;
        text-align: center;
    }
    
    .trust-indicators {
        justify-content: center;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    /* Ensure services section has proper spacing on mobile */
    .services {
        padding-top: 100px;
        margin-top: -20px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    /* Footer logo mobile styles */
    .footer .logo {
        justify-content: center;
        margin-bottom: 1.5rem;
    }
    
    .footer .logo-image {
        height: 45px;
        margin-top: 5px;
    }
    
    .footer .logo-text h3 {
        font-size: 1.6rem;
    }
    
    .map-container {
        margin-top: 1.5rem;
    }
    
    .logo-image {
        height: 42px;
        margin-right: 0;
        margin-top: 5px;
    }
    
    .logo h1 {
        font-size: 1.8rem;
        line-height: 1.1;
    }
    
    .logo h3 {
        font-size: 1.5rem;
        line-height: 1.1;
    }
    
    .logo p {
        font-size: 0.8rem;
        line-height: 1.1;
    }
    
    .logo-text {
        gap: 1px;
    }
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }
    h3 { font-size: 1.5rem; }
    
    .about,
    .services,
    .team,
    .contact,
    .footer {
        padding-top: 18px;
        padding-bottom: 18px;
    }
    .section-title, .section-subtitle {
        margin-bottom: 0.3rem;
        margin-top: 0.3rem;
    }
    h1, h2, h3, h4, h5, h6 {
        margin-bottom: 1.0rem;
        margin-top: 1.0rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.7rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .btn-primary, .btn-secondary {
        font-size: 0.9rem;
        padding: 10px 16px;
    }
    
    .service-card,
    .contact-form {
        padding: 1.5rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    /* Improved logo alignment for very small screens */
    .logo-image {
        height: 47px;
        margin-top: 15px;
    }
    
    .logo h1 {
        font-size: 1.6rem;
    }
    
    .logo h3 {
        font-size: 1.3rem;
    }
    
    .logo p {
        font-size: 0.75rem;
    }
    
    .logo-text {
        gap: 0;
    }
    
    .nav-container {
        height: 70px;
        padding: 0 15px;
    }
    
    /* Footer logo for very small screens */
    .footer .logo-image {
        height: 55px;
        margin-top: 14px;
    }
    
    .footer .logo-text h3 {
        font-size: 1.4rem;
    }
    
    .footer .logo-text p {
        font-size: 0.8rem;
    }
}

/* Form Validation Styles */
.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: #dc3545;
}

.error-message {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: block;
}

.success-message {
    background-color: #d4edda;
    color: #155724;
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 1rem;
    border: 1px solid #c3e6cb;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for accessibility */
button:focus,
input:focus,
select:focus,
textarea:focus,
a:focus {
    outline: 2px solid var(--accent-gold);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --accent-gold: #FFD700;
        --dark-gold: #B8860B;
    }
}