/* Villa Stuart Homepage Styles */
/* Based on Figma design with Villa Stuart branding and reference site patterns */

/* Typography */
:root {
    --font-primary: 'Mulish', sans-serif;
    --font-secondary: 'trajan-pro-3', serif;
    --color-primary: #003E38;
    --color-secondary: #213535;
    --color-white: #FCFCFC;
    --shadow-card: 0 4px 12px rgba(0, 62, 56, 0.1);
    --border-radius: 8px;
}

/* Services Grid Section - matching Figma design exactly */
.services-grid-section {
    background: var(--color-primary);
    padding: 80px 0;
}

.service-item {
    margin-bottom: 30px;
    padding: 0 15px;
}

.service-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.service-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    background: rgba(255, 255, 255, 0.15);
}

.service-icon {
    background: rgba(255, 255, 255, 0.9);
    color: var(--color-primary);
    width: 80px;
    height: 80px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.service-content h3 {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 18px;
    text-transform: uppercase;
    margin: 0 0 12px 0;
    line-height: 1.3;
    letter-spacing: 0.3px;
    color: #ffffff;
}

.service-content p {
    font-family: var(--font-primary);
    font-weight: 400;
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
}

/* About Section */
.about-section {
    background: #f8f9fa;
    padding: 80px 0;
}

.about-image img {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-card);
    transition: transform 0.3s ease;
}

.about-image:hover img {
    transform: scale(1.02);
}

.about-content {
    padding-left: 40px;
}

.about-content h2 {
    font-family: var(--font-secondary);
    font-weight: 400;
    font-size: 37px;
    color: var(--color-primary);
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-content p {
    font-family: var(--font-primary);
    font-size: 15px;
    line-height: 1.6;
    color: #333;
    margin-bottom: 20px;
}

.about-content .btn {
    margin-top: 20px;
}

/* Contact Section */
.contact-section {
    background: var(--color-primary);
    color: var(--color-white);
    padding: 80px 0;
}

.contact-section h2 {
    font-family: var(--font-secondary);
    font-weight: 400;
    font-size: 37px;
    text-align: center;
    margin-bottom: 60px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.coordinator-photo img {
    width: 100%;
    max-width: 270px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-card);
}

.coordinator-info {
    padding-left: 40px;
}

.coordinator-info h3 {
    font-family: var(--font-secondary);
    font-weight: 400;
    font-size: 24px;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.coordinator-info .position {
    font-family: var(--font-primary);
    font-size: 16px;
    opacity: 0.8;
    margin-bottom: 24px;
}

.contact-details p {
    font-family: var(--font-primary);
    margin-bottom: 12px;
    font-size: 16px;
}

.contact-details a {
    color: var(--color-white);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
}

.contact-details a:hover {
    border-bottom-color: var(--color-white);
}

/* News Section */
.news-section {
    background: #f8f9fa;
    padding: 80px 0;
}

.news-section h2 {
    font-family: var(--font-secondary);
    font-weight: 400;
    font-size: 37px;
    color: var(--color-primary);
    text-align: center;
    margin-bottom: 60px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.news-carousel {
    overflow-x: auto;
    padding-bottom: 20px;
    margin: 0 -20px;
}

.news-slider {
    display: flex;
    gap: 24px;
    padding: 0 20px;
    min-width: max-content;
}

.news-card {
    background: #ffffff;
    border-radius: var(--border-radius);
    overflow: hidden;
    width: 415px;
    min-height: 580px;
    flex-shrink: 0;
    box-shadow: var(--shadow-card);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 62, 56, 0.15);
}

.news-image {
    height: 194px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.news-content {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-content h3 {
    font-family: var(--font-secondary);
    font-weight: 400;
    font-size: 18px;
    color: var(--color-primary);
    margin-bottom: 15px;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.news-excerpt {
    font-family: var(--font-primary);
    color: #666;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: auto;
    flex: 1;
}

.news-meta {
    display: flex;
    align-items: center;
    margin: 20px 0 15px 0;
}

.news-date {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    font-family: var(--font-primary);
    font-size: 12px;
}

.news-link {
    font-family: var(--font-primary);
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.news-link:hover {
    color: var(--color-secondary);
    border-bottom-color: var(--color-primary);
}

/* Accreditations Section - Figma Design */
.accreditations-section {
    background: #ffffff;
    padding: 120px 0;
    border-top: 1px solid #e8ecef;
    border-bottom: 1px solid #e8ecef;
}

.accreditations-header {
    text-align: center;
    margin-bottom: 80px;
}

.accreditations-section h2 {
    font-family: 'Mulish', sans-serif;
    font-weight: 700;
    font-size: 42px;
    color: var(--color-primary);
    text-align: center;
    margin: 0;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.accreditations-grid {
    max-width: 1000px;
    margin: 0 auto;
}

.accreditation-card {
    background: transparent;
    text-align: center;
    padding: 60px 40px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.accreditation-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.accreditation-card h3 {
    font-family: 'Mulish', sans-serif;
    font-weight: 700;
    font-size: 36px;
    color: var(--color-primary);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.accreditation-card p {
    font-family: 'Mulish', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5;
    color: #4a4a4a;
    margin: 0;
    max-width: 400px;
    text-align: center;
}

.accreditation-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: auto;
    min-height: 120px;
}

.accreditation-logo img {
    max-width: 280px;
    height: auto;
    width: auto;
}

/* Call to Action Section - Call Center Design */
.cta-section {
    background: var(--color-primary);
    color: var(--color-white);
    padding: 100px 0;
    text-align: center;
}

.cta-content h2 {
    font-family: var(--font-primary);
    font-weight: 400;
    font-size: 28px;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--color-white);
}

.cta-content p {
    font-family: var(--font-primary);
    font-size: 20px;
    font-weight: 400;
    line-height: 1.4;
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: var(--color-white);
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: transparent;
    border: 2px solid var(--color-white);
    color: var(--color-white);
    padding: 15px 35px;
    font-family: var(--font-primary);
    font-weight: 400;
    font-size: 18px;
    text-decoration: none;
    border-radius: 2px;
    transition: all 0.3s ease;
    letter-spacing: 1px;
}

.btn-cta:hover {
    background: var(--color-white);
    color: var(--color-primary);
    text-decoration: none;
    transform: translateY(-2px);
}

.btn-cta i {
    font-size: 16px;
}

/* Buttons */
.btn-primary {
    background: #f15b5a;
    border: none;
    color: #ffffff;
    padding: 12px 36px;
    font-family: var(--font-primary);
    font-weight: 600;
    text-transform: uppercase;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-card);
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.btn-primary:hover {
    background: #d94442;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(241, 91, 90, 0.3);
}

.btn-lg {
    padding: 16px 48px;
    font-size: 16px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .services-grid-section {
        padding: 60px 0;
    }
    
    .service-item {
        margin-bottom: 25px;
        padding: 0 10px;
    }
    
    .service-card {
        padding: 30px 20px;
    }
    
    .service-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 18px;
    }
    
    .service-content h3 {
        font-size: 16px;
        margin-bottom: 10px;
    }
    
    .service-content p {
        font-size: 13px;
    }
    
    .about-content,
    .coordinator-info {
        padding-left: 0;
        margin-top: 30px;
    }
    
    .news-slider {
        padding: 0 10px;
    }
    
    .news-card {
        width: 300px;
    }
    
    .about-content h2,
    .contact-section h2,
    .news-section h2 {
        font-size: 24px;
    }
    
    .accreditations-section {
        padding: 80px 0;
    }
    
    .accreditations-section h2 {
        font-size: 28px;
        letter-spacing: 1px;
    }
    
    .accreditation-card {
        padding: 40px 20px;
        margin-bottom: 40px;
    }
    
    .accreditation-card h3 {
        font-size: 24px;
    }
    
    .accreditation-card p {
        font-size: 14px;
    }
    
    .cta-section {
        padding: 80px 0;
    }
    
    .cta-content h2 {
        font-size: 20px;
        letter-spacing: 2px;
    }
    
    .cta-content p {
        font-size: 16px;
        margin-bottom: 40px;
    }
    
    .btn-cta {
        padding: 12px 25px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .services-grid-section {
        padding: 50px 0;
    }
    
    .about-section,
    .contact-section,
    .news-section {
        padding: 60px 0;
    }
    
    .accreditations-section {
        padding: 60px 0;
    }
    
    .accreditations-section h2 {
        font-size: 20px;
        letter-spacing: 1px;
        margin-bottom: 50px;
    }
    
    .accreditation-card {
        padding: 30px 15px;
    }
    
    .accreditation-card h3 {
        font-size: 20px;
    }
    
    .accreditation-card p {
        font-size: 13px;
    }
    
    .cta-section {
        padding: 60px 0;
    }
    
    .cta-content h2 {
        font-size: 18px;
        letter-spacing: 1px;
    }
    
    .cta-content p {
        font-size: 14px;
        line-height: 1.3;
    }
    
    .btn-cta {
        padding: 10px 20px;
        font-size: 14px;
        gap: 10px;
    }
    
    .service-item {
        padding: 0 5px;
        margin-bottom: 20px;
    }
    
    .service-card {
        padding: 25px 15px;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 15px;
    }
    
    .service-content h3 {
        font-size: 14px;
        margin-bottom: 8px;
    }
    
    .service-content p {
        font-size: 12px;
    }
}