/* BD Sans Font */
@font-face {
    font-family: 'BD Sans';
    src: url('../fonts/BD-Sans-Regular.woff2') format('woff2'),
         url('../fonts/BD-Sans-Regular.woff') format('woff'),
         url('../fonts/BD-Sans-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'BD Sans';
    src: url('../fonts/BD-Sans-Bold.woff2') format('woff2'),
         url('../fonts/BD-Sans-Bold.woff') format('woff'),
         url('../fonts/BD-Sans-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #000;
    overflow-x: hidden;
    -webkit-tap-highlight-color: transparent;
}

/* iOS specific fixes */
a {
    color: inherit;
    -webkit-tap-highlight-color: transparent;
}

a[href^="tel:"] {
    color: inherit !important;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
}

/* iOS Safari specific link color fixes */
@supports (-webkit-touch-callout: none) {
    .social-icon {
        -webkit-text-fill-color: white !important;
        color: white !important;
    }
    
    .social-icon:link {
        color: white !important;
        -webkit-text-fill-color: white !important;
    }
    
    .footer {
        background-color: #1a0a0a !important;
    }
    
    .footer p {
        color: rgba(255, 255, 255, 0.6) !important;
        -webkit-text-fill-color: rgba(255, 255, 255, 0.6) !important;
    }
}

/* Animation Keyframes */
@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);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Utility Classes for Animations */
.fade-in {
    opacity: 0;
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
}

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-left:not(.visible) {
    opacity: 0;
    transform: translateX(-30px);
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-right:not(.visible) {
    opacity: 0;
    transform: translateX(30px);
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Hero Section */
.hero {
    background-color: #8d1d2d;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 80px 5%;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(184, 137, 69, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(255, 105, 180, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text {
    color: white;
}

.hero-text h1 {
    font-family: 'BD Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-size: 4rem;
    font-weight: bold;
    color: #b88941;
    margin-bottom: 30px;
    line-height: 1.2;
    animation: fadeInLeft 1s ease-out;
}

.hero-text p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 20px;
    animation: fadeInLeft 1s ease-out 0.2s both;
}

.hero-text p:nth-of-type(2) {
    animation-delay: 0.4s;
}

.hero-text .underline {
    border-bottom: 2px solid #b88945;
    display: inline-block;
    padding-bottom: 2px;
    position: relative;
    transition: all 0.3s ease;
}

.hero-text .underline::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #b88945;
    transition: width 0.5s ease;
}

.hero-text .underline:hover::after {
    width: 100%;
}

.hero-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    animation: fadeInRight 1s ease-out 0.3s both;
}

.logo-container {
    text-align: center;
    margin-bottom: 40px;
}

.logo-circle {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, #FFB6C1, #FF69B4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: float 3s ease-in-out infinite;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.logo-circle:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    animation: pulse 1s ease-in-out infinite;
}

.logo-owl {
    font-size: 80px;
    color: #FFB6C1;
    transition: transform 0.3s ease;
}

.logo-circle:hover .logo-owl {
    transform: scale(1.1);
}

.logo-text {
    color: #b88941;
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: 3px;
    transition: letter-spacing 0.3s ease;
}

.logo-container:hover .logo-text {
    letter-spacing: 5px;
}

.btn {
    padding: 15px 40px;
    background-color: #b88945;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    font-size: 1rem;
    display: inline-block;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(184, 137, 69, 0.5);
}

.btn:active {
    transform: translateY(-1px);
}

/* Approach Section */
.approach {
    background-color: white;
    padding: 100px 5%;
    position: relative;
    color: #000;
}

.approach-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1400px;
    margin: 0 auto;
    align-items: center;
}

.approach-text h2 {
    font-family: 'BD Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-size: 3rem;
    color: #8B1A1A;
    margin-bottom: 30px;
    font-weight: 700;
    position: relative;
    display: inline-block;
    opacity: 1 !important;
    visibility: visible !important;
}

.approach-text h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #8d1d2d, #b88945);
    transition: width 0.5s ease;
}

.approach-text:hover h2::after {
    width: 100%;
}

.approach-text {
    opacity: 1 !important;
    visibility: visible !important;
}

.approach-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #000;
    margin-bottom: 30px;
    transition: color 0.3s ease;
    opacity: 1 !important;
    visibility: visible !important;
}

.approach-text p:hover {
    color: #8B1A1A;
}

.approach-image {
    width: 100%;
    height: 500px;
    background: linear-gradient(135deg, #f5f5f5, #e0e0e0);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 1 !important;
    visibility: visible !important;
}

.approach-image img {
    opacity: 1 !important;
    visibility: visible !important;
}

.approach-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.approach-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.approach-image:hover img {
    transform: scale(1.1);
}

.laptop-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e8e8e8, #d0d0d0);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 1.2rem;
    position: relative;
    overflow: hidden;
}

.laptop-placeholder::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 3s infinite;
}

/* About Section */
.about {
    background-color: white;
    padding: 100px 5%;
    position: relative;
    color: #000;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1400px;
    margin: 0 auto;
    align-items: center;
}

.about-image {
    width: 100%;
    height: 600px;
    background: linear-gradient(135deg, #f5f5f5, #e0e0e0);
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.1);
}

.portrait-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f0f0f0, #d8d8d8);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 1.2rem;
    position: relative;
    overflow: hidden;
}

.portrait-placeholder::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 3s infinite;
}

.about-text h2 {
    font-family: 'BD Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-size: 4rem;
    color: #E3A9AE;
    margin-bottom: 30px;
    font-weight: 700;
    position: relative;
    display: inline-block;
    transition: transform 0.3s ease;
}

.about-text h2:hover {
    transform: translateX(10px);
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #000;
    margin-bottom: 30px;
    transition: padding-left 0.3s ease;
}

.about-text p:hover {
    padding-left: 10px;
    border-left: 3px solid #E3A9AE;
}

/* Contact Section */
.contact {
    background-color: #3C1414;
    background-image: linear-gradient(rgba(60, 20, 20, 0.9), rgba(60, 20, 20, 0.9)),
                      url('../images/contact-background.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 120px 5%;
    position: relative;
    overflow: hidden;
    min-height: 600px;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(60, 20, 20, 0.85), rgba(60, 20, 20, 0.85));
    z-index: 1;
    pointer-events: none;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(184, 137, 69, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.contact-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.contact-content h2 {
    font-size: 3.5rem;
    color: white;
    margin-bottom: 20px;
    font-weight: 700;
    animation: fadeInUp 1s ease-out;
}

.contact-content > p {
    font-size: 1.3rem;
    color: white;
    margin-bottom: 60px;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.contact-boxes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.contact-box {
    border: 2px solid white;
    padding: 40px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 2;
}

.contact-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.contact-box:hover::before {
    left: 100%;
}

.contact-box:hover {
    transform: translateY(-5px);
    border-color: #b88945;
    box-shadow: 0 10px 30px rgba(184, 137, 69, 0.3);
    background: rgba(255, 255, 255, 0.1);
}

.contact-box p {
    color: white !important;
    font-size: 1.1rem;
    line-height: 2;
    text-align: left;
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
    -webkit-tap-highlight-color: transparent;
    -webkit-text-fill-color: white;
}

.contact-box p a {
    color: white !important;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
    -webkit-text-fill-color: white;
}

/* Prevent iOS from styling phone numbers as links */
.contact-box p:not(a) {
    color: white !important;
    -webkit-text-fill-color: white;
}

.contact-box:hover p {
    color: #b88945;
}

.contact-box strong {
    display: block;
    margin-bottom: 10px;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.contact-box:hover strong {
    transform: translateX(5px);
}

/* Social Media Icons */
.social-media {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 50px;
    z-index: 2;
    position: relative;
}

.social-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white !important;
    background: rgba(255, 255, 255, 0.1) !important;
    border: 2px solid white !important;
    border-radius: 50%;
    transition: all 0.3s ease;
    text-decoration: none !important;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-text-fill-color: white;
    appearance: none;
    -webkit-appearance: none;
}

.social-icon:link,
.social-icon:visited,
.social-icon:hover,
.social-icon:active {
    color: white !important;
    -webkit-text-fill-color: white;
    text-decoration: none !important;
}

.social-icon:hover {
    background: rgba(184, 137, 69, 0.3);
    border-color: #b88945;
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 5px 15px rgba(184, 137, 69, 0.4);
}

.social-icon svg {
    width: 24px;
    height: 24px;
    fill: white !important;
    color: white !important;
}

.social-icon svg path {
    fill: white !important;
}

/* Footer */
.footer {
    background-color: #1a0a0a !important;
    padding: 30px 5%;
    text-align: center;
    color: rgba(255, 255, 255, 0.6) !important;
    font-size: 0.85rem;
    line-height: 1.8;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    -webkit-tap-highlight-color: transparent;
    -webkit-user-select: none;
    user-select: none;
    position: relative;
    z-index: 1;
}

.footer p {
    margin: 5px 0;
    color: rgba(255, 255, 255, 0.6) !important;
    background: transparent !important;
    -webkit-tap-highlight-color: transparent;
    -webkit-text-fill-color: rgba(255, 255, 255, 0.6) !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.footer * {
    color: rgba(255, 255, 255, 0.6) !important;
    -webkit-text-fill-color: rgba(255, 255, 255, 0.6) !important;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content,
    .approach-content,
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-text h1 {
        font-size: 3rem;
    }

    .contact-boxes {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 60px 5%;
        min-height: auto;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .approach-text h2,
    .about-text h2 {
        font-size: 2.5rem;
    }

    .contact-content h2 {
        font-size: 2.5rem;
    }

    .approach,
    .about,
    .contact {
        padding: 60px 5%;
    }

    .logo-circle {
        width: 120px;
        height: 120px;
    }

    .logo-owl {
        font-size: 60px;
    }

    .social-media {
        gap: 20px;
    }

    .social-icon {
        width: 45px;
        height: 45px;
    }

    .social-icon svg {
        width: 20px;
        height: 20px;
    }

    .footer {
        font-size: 0.75rem;
        padding: 20px 5%;
    }
}

/* Loading Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

body {
    animation: fadeIn 0.5s ease-in;
}

