

/* --- Global Styles --- */
body {
    text-align: center;
    background: rgba(249, 228, 231, 0.7);
    justify-content: center;
    display: flex;
    align-items: center;
    margin: 0;
    font-family: "Cocogoose", sans-serif;
    min-height: 100vh;
    margin: 0;
}

a {
    color: white;
    text-decoration: none;
}

/* --- Container --- */
.container {
    width: 100%;
    padding: 24px;
    text-align: center;
}

/* --- Icon --- */
.icon {
    margin-top: 50px;
    margin-bottom: 100px;
    width: 85%;
    border-radius: 10%;
    border: 10px solid #C48A98;
}

.logo{

    width: 800px;
}

h1{
    font-family: "Ballet";
    font-size: 220px;
    margin-top: 10px;
    margin-bottom: -100px;
    color: #C48A98;
    letter-spacing: -5px;
}

/* --- TILES MOBILE-FIRST --- */
.tiles {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 30px;
}

.tiles > a,
.tiles > .tile1, .tiles > .tile2, .tiles > .tile3,
.tiles > .tile4, .tiles > .tile5, .tiles > .tile6 {
    margin: 10px 0;
    display: block;
    text-align: center;
    text-decoration: none;
    font-size: 50px;
    width: 86vw;
    max-width: 100%;
    min-height: 70px;
    border-radius: 40px;
    box-sizing: border-box;
    padding: 30px 0;
}

/* --- Tile Colors --- */
/* --- Tile Colors (Arhama Dusty Rose Theme) --- */
.tile1 { background: linear-gradient(to bottom, #E6BCCD, #DFA8BB); box-shadow: 0 15px #B87D92; }
.tile2 { background: linear-gradient(to bottom, #E6BCCD, #DFA8BB); box-shadow: 0 15px #B87D92; }
.tile3 { background: linear-gradient(to bottom, #E6BCCD, #DFA8BB); box-shadow: 0 15px #B87D92; }
.tile4 { background: linear-gradient(to bottom, #E6BCCD, #DFA8BB); box-shadow: 0 15px #B87D92; }
.tile5 { background: linear-gradient(to bottom, #E6BCCD, #DFA8BB); box-shadow: 0 15px #B87D92; }
.tile6 { background: linear-gradient(to bottom, #E6BCCD, #DFA8BB); box-shadow: 0 15px #B87D92; }

.contact { font-size: 43px; margin-top: 40px; }
.contact a{ text-decoration: underline; }
.rights { font-size: 25px; margin-bottom: 0px; margin-top: 60px;}
.footnote { margin-top: 1px; font-size: 25px; }
.footnote a { font-family: "orbitron", sans-serif;letter-spacing: 2px; font-weight: bold }

/* --- Replace the previous code at the bottom of style.css with this --- */

/* 1. Set up the container (the link itself) */
.tiles div a {
    display: flex;             /* Use flexbox to align things */
    justify-content: center;   /* This will now CENTER the text horizontally */
    align-items: center;       /* Center the text vertically */
    position: relative;        /* This is important! It makes the link the reference point for the icon. */
    font-size: 80px;           /* Keep your larger font size */
    width: 100%;               /* Make sure the link fills the entire tile */
    height: 100%;              /* Make sure it fills the height too */
    font-family: "Dancing Script", cursive;
    font-weight: bold;
}

/* --- Social Icons --- */
.social-icons {
    display: flex;
    justify-content: center;
    gap: 100px;
    font-size: 120px;
    margin-bottom: 30px;
    margin-top: 10px;
}
.social-icons a {
    color: #C48A98;
}

/* 2. Position the icon absolutely */
.tiles div a i {
    position: absolute;        /* Take the icon out of the normal flow */
    left: 40px;                /* Pin it 40px from the left edge. Adjust this number if you want! */
    top: 50%;                  /* Move it to the vertical middle... */
    transform: translateY(-50%); /* ...and shift it up slightly to be perfectly centered. */
}

.footnote a{
    color: #272727;
}

@media (min-width: 1000px) {
    /* --- Layout Container --- */
    header {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 18px;
    }
    .logo {
        width: 350px;
        margin-top: 5px;
    }
    .icon {
        width: 150px;
        padding-top: 10px;
    }

    /* --- The Grid (2 Columns looks best for 6 items) --- */
    .tiles {
        display: grid;
        grid-template-columns: repeat(2, 1fr); /* Creates 2 equal columns */
        gap: 25px;            /* Space between buttons */
        width: 100%;          /* Fits inside the screen */
        max-width: 800px;     /* Prevents it from getting too stretched */
        margin: 0 auto;       /* Centers the whole grid */
        justify-items: center;
    }

    /* --- The Button Shape (Wrapper) --- */
    .tiles > div {
        width: 350px !important;  /* Wider buttons for desktop */
        height: 80px;
        font-size: 24px;          /* Readable font size (was 15px) */
        margin: 0;
        box-shadow: 6px 1px 6px #ECC8C6;
        transition: transform 0.2s; /* Adds a hover effect */
    }

    /* --- Hover Effect (Optional) --- */
    .tiles > div:hover {
        transform: translateY(-5px); /* Moves up slightly when hovered */
    }

    /* --- The Link Inside (Keeps Icon Left / Text Center) --- */
    .tiles div a {
        font-size: 24px !important; /* Overrides mobile size */
        width: 100%;
        height: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative;         /* Needed for icon positioning */
    }

    /* --- The Icon Positioning for Desktop --- */
    .tiles div a i {
        font-size: 30px;      /* Smaller icon for desktop balance */
        position: absolute;
        left: 30px;           /* Pinned to the left */
        top: 50%;
        transform: translateY(-50%);
    }

    /* --- Footer Adjustments --- */
    .contact {
        font-size: 30px;
        margin-top: 50px;
    }
}