/*
 * Dr. Ayobola Adedayo - Homepage
 * Breed2 Template Style
 */

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    line-height: 1.7;
    color: #5E5C7F;
    background-color: #F9F9FF;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    line-height: 1.3;
    color: #353353;
    margin-bottom: 0;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

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

ul {
    list-style: none;
}

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

/* ================================
   Typography
   ================================ */
.section-subtitle {
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #FF4C60;
    margin-bottom: 10px;
    display: block;
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

/* ================================
   Buttons
   ================================ */
.btn {
    display: inline-block;
    padding: 12px 32px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: #FF4C60;
    color: #fff;
}

.btn-primary:hover {
    background: #e63e52;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 76, 96, 0.3);
}

.btn-outline {
    background: transparent;
    color: #353353;
    border: 2px solid #E8E8F0;
}

.btn-outline:hover {
    border-color: #FF4C60;
    color: #FF4C60;
}

/* ================================
   Navigation
   ================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 25px 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: #fff;
    padding: 15px 0;
    box-shadow: 0 5px 20px rgba(69, 67, 96, 0.1);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: #353353;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 35px;
}

.nav-link {
    font-size: 15px;
    font-weight: 500;
    color: #5E5C7F;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #FF4C60;
    transition: width 0.3s ease;
}

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

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background: #353353;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* ================================
   Hero Section
   ================================ */
.hero-section {
    padding: 160px 0 100px;
    background: #F9F9FF;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-section .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.hero-content {
    flex: 1;
}

.hero-subtitle {
    font-size: 16px;
    font-weight: 500;
    color: #FF4C60;
    margin-bottom: 10px;
    display: block;
}

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

.hero-text {
    font-size: 18px;
    font-weight: 500;
    color: #353353;
    margin-bottom: 10px;
}

.hero-subtext {
    font-size: 16px;
    color: #8B8B9A;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 35px;
    margin-bottom: 35px;
}

.hero-social {
    display: flex;
    gap: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    color: #5E5C7F;
    box-shadow: 0 5px 15px rgba(69, 67, 96, 0.1);
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #FF4C60;
    color: #fff;
    transform: translateY(-3px);
}

.hero-image {
    flex-shrink: 0;
}

.image-holder {
    width: 380px;
    height: 520px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(69, 67, 96, 0.15);
}

.image-holder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ================================
   About Section
   ================================ */
.about-section {
    padding: 100px 0;
    background: #fff;
}

.about-section .container {
    display: flex;
    align-items: center;
    gap: 80px;
}

.about-image {
    flex-shrink: 0;
}

.about-image img {
    width: 400px;
    height: 500px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(69, 67, 96, 0.15);
}

.about-content {
    flex: 1;
}

.about-text {
    font-size: 16px;
    color: #5E5C7F;
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-info {
    margin: 30px 0;
}

.info-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px 30px;
}

.info-item {
    display: flex;
    flex-direction: column;
}

.info-title {
    font-size: 13px;
    color: #8B8B9A;
    margin-bottom: 3px;
}

.info-value {
    font-size: 15px;
    font-weight: 600;
    color: #353353;
}

.about-buttons {
    margin-top: 30px;
}

/* ================================
   Services Section
   ================================ */
.services-section {
    padding: 100px 0;
    background: #F9F9FF;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(69, 67, 96, 0.1);
}

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

.service-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    margin-bottom: 25px;
    background: linear-gradient(135deg, rgba(255, 76, 96, 0.1) 0%, rgba(108, 99, 255, 0.1) 100%);
    border-radius: 50%;
    color: #FF4C60;
}

.service-title {
    font-size: 20px;
    margin-bottom: 15px;
}

.service-text {
    font-size: 14px;
    color: #8B8B9A;
    line-height: 1.7;
}

/* ================================
   Portfolio Section
   ================================ */
.portfolio-section {
    padding: 100px 0;
    background: #fff;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.portfolio-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    background: #f5f5f5;
}

.portfolio-image {
    height: 320px;
    overflow: hidden;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center top;
    background: #f5f5f5;
    padding: 15px;
    transition: transform 0.5s ease;
}

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

.portfolio-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(53, 51, 83, 0.9), transparent);
    color: #fff;
    transform: translateY(60px);
    opacity: 0;
    transition: all 0.3s ease;
}

.portfolio-item:hover .portfolio-content {
    transform: translateY(0);
    opacity: 1;
}

.portfolio-content h3 {
    font-size: 18px;
    color: #fff;
    margin-bottom: 5px;
}

.portfolio-content p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

.portfolio-link {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

/* ================================
   Contact Section
   ================================ */
.contact-section {
    padding: 100px 0;
    background: #F9F9FF;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: #FF4C60;
    color: #fff;
    border-radius: 50%;
    flex-shrink: 0;
}

.contact-details h4 {
    font-size: 18px;
    margin-bottom: 5px;
}

.contact-details p {
    font-size: 15px;
    color: #8B8B9A;
}

.contact-form-wrapper {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(69, 67, 96, 0.1);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    font-size: 14px;
    font-family: inherit;
    background: #F9F9FF;
    border: 2px solid transparent;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #FF4C60;
    background: #fff;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* ================================
   Footer
   ================================ */
.footer {
    background: #353353;
    padding: 30px 0;
}

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

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #fff;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: #FF4C60;
    transform: translateY(-3px);
}

.footer-text {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

/* ================================
   Responsive Styles
   ================================ */
@media (max-width: 1024px) {
    .hero-section .container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-social {
        justify-content: center;
    }
    
    .about-section .container {
        flex-direction: column;
        text-align: center;
    }
    
    .info-wrapper {
        justify-items: center;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: #fff;
        flex-direction: column;
        justify-content: center;
        padding: 40px;
        box-shadow: 0 15px 40px rgba(69, 67, 96, 0.15);
        transition: right 0.3s ease;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .hamburger {
        display: flex;
        z-index: 1001;
    }
    
    .hero-section {
        padding: 120px 0 60px;
        min-height: auto;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .image-holder {
        width: 280px;
        height: 320px;
    }
    
    .about-image img {
        width: 280px;
        height: 350px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .section-title {
        font-size: 26px;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
        max-width: 320px;
        margin: 0 auto;
    }
    
    .info-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
    }
}
